* Install HAL's umount helper. This is necessary to allow non-root
users to unmount or eject removable media mounted through HAL from the command-line. svn path=/nixpkgs/trunk/; revision=17447
This commit is contained in:
parent
363f3fd1b9
commit
77ba759b5a
|
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
--with-eject=${eject}/bin/eject
|
--with-eject=${eject}/bin/eject
|
||||||
--with-linux-input-header=${stdenv.glibc}/include/linux/input.h
|
--with-linux-input-header=${stdenv.glibc}/include/linux/input.h
|
||||||
|
--enable-umount-helper
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [libusb libsmbios];
|
propagatedBuildInputs = [libusb libsmbios];
|
||||||
|
@ -41,4 +42,6 @@ stdenv.mkDerivation rec {
|
||||||
--replace /bin/umount ${utillinuxng}/bin/umount
|
--replace /bin/umount ${utillinuxng}/bin/umount
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
installFlags = "slashsbindir=$(out)/sbin";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue