3
0
Fork 0
forked from mirrors/nixpkgs

systemd: remove udev attributes

This commit is contained in:
Frederik Rietdijk 2017-10-27 22:20:20 +02:00
parent 66b63d2f5a
commit 97c7b69e25
3 changed files with 3 additions and 7 deletions

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
"PIXMAPS=$(out)/share/pixmaps"
"UDEVBIN=$(out)/bin"
"UDEVDIR=$(out)/etc/udev/rules.d"
"UDEVD=${systemd.udev.bin}/sbin/udevd"
"UDEVD=${systemd}/sbin/udevd"
"LIBUDEVDIR=$(out)/lib/udev/rules.d"
"USBDIR=$(out)/etc/hotplug/usb"
"FOODB=$(out)/share/foomatic/db/source"

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation {
preConfigure =
''
substituteInPlace scripts/lvm2_activation_generator_systemd_red_hat.c \
--replace /usr/bin/udevadm ${systemd.udev.bin}/bin/udevadm
--replace /usr/bin/udevadm ${systemd}/bin/udevadm
sed -i /DEFAULT_SYS_DIR/d Makefile.in
sed -i /DEFAULT_PROFILE_DIR/d conf/Makefile.in

View file

@ -12956,11 +12956,7 @@ with pkgs;
systemd = callPackage ../os-specific/linux/systemd {
utillinux = utillinuxMinimal; # break the cyclic dependency
}
// {
udev.bin = systemd; # ${systemd.udev.bin}/bin/udevadm
udev.lib = libudev.out; # ${systemd.udev.lib}/lib/libudev.*
};
};
# standalone cryptsetup generator for systemd
systemd-cryptsetup-generator = callPackage ../os-specific/linux/systemd/cryptsetup-generator.nix { };