[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] devkit-disks has been replaced with udisks



Jesse Keating (jkeating redhat com) said: 
> Call the right tool to inhibit.

I wonder if the right fix is to just add another if ... clause.

> @@ -80,8 +80,8 @@ for i in /dev/md*; do
>      esac
>  done
>  
> -if [ -x /usr/bin/devkit-disks ]; then
> -    /usr/bin/devkit-disks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
> +if [ -x /usr/bin/udisks ]; then
> +    /usr/bin/udisks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
>  elif [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then
>      /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
>  else
> -- 
> 1.7.0
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]