diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults index ba1e3a9..1df3f97 100755 --- a/defaults/initrd.defaults +++ b/defaults/initrd.defaults @@ -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" diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 08dd8b3..fcc1056 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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