Upstream has removed support for a configurable UDEV_ROOT in udev 176
when devtmpfs became mandatory. We already removed this from the SysV
init script in commit
dbad4c2a8dcd69e310de897daf8eb150bdcec249.
# Stop udevd, we'll miss a few events while we run init, but we catch up
udevadm control --exit
-udev_root="/dev"
-if [ -e /etc/udev/udev.conf ]; then
- . /etc/udev/udev.conf
-fi
-
# move the /dev tmpfs to the rootfs
-mount -n -o move /dev ${rootmnt}${udev_root}
+mount -n -o move /dev ${rootmnt}/dev
# create a temporary symlink to the final /dev for other initramfs scripts
nuke /dev
-ln -s ${rootmnt}${udev_root} /dev
+ln -s ${rootmnt}/dev /dev
echo > /sys/kernel/uevent_helper
-UDEV_ROOT=/dev \
/lib/systemd/systemd-udevd --daemon --resolve-names=never
udevadm trigger --action=add