gen_initramfs.sh, initrd.defaults: systemd-210 moved udevd to another path

master
Fabio Erculiani 11 years ago
parent fd8ba0d9db
commit f38dedf589

@ -57,6 +57,7 @@ KSUFF=".ko"
# systemd-207 dropped /sbin/udevd
UDEVD="/sbin/udevd"
[ ! -e "${UDEVD}" ] && UDEVD="/usr/lib/systemd/systemd-udevd"
[ ! -e "${UDEVD}" ] && UDEVD="/lib/systemd/systemd-udevd"
MDEVD="/sbin/mdev"
INITRD_SPLASH="/etc/initrd.splash"

@ -637,6 +637,10 @@ append_udev() {
# systemd-207 dropped /sbin/udevd
local udevd_bin=/sbin/udevd
[ ! -e "${udevd_bin}" ] && udevd_bin=/usr/lib/systemd/systemd-udevd
# systemd-210, moved udevd to another location
[ ! -e "${udevd_bin}" ] && udevd_bin=/lib/systemd/systemd-udevd
[ ! -e "${udevd_bin}" ] && gen_die "cannot find udevd"
local udevadm_bin=/bin/udevadm
[ ! -e "${udevadm_bin}" ] && udevadm_bin=/usr/bin/udevadm

Loading…
Cancel
Save