Merge pull request #30872 from FRidh/udev
systemd: remove udev attributes
This commit is contained in:
commit
decaeb3040
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12975,10 +12975,6 @@ 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
|
||||
|
|
Loading…
Reference in New Issue