* 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
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
|||
--localstatedir=/var
|
||||
--with-eject=${eject}/bin/eject
|
||||
--with-linux-input-header=${stdenv.glibc}/include/linux/input.h
|
||||
--enable-umount-helper
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [libusb libsmbios];
|
||||
|
@ -41,4 +42,6 @@ stdenv.mkDerivation rec {
|
|||
--replace /bin/umount ${utillinuxng}/bin/umount
|
||||
done
|
||||
'';
|
||||
|
||||
installFlags = "slashsbindir=$(out)/sbin";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue