From: Michael Biebl Date: Wed, 24 Jul 2013 20:18:12 +0000 (+0200) Subject: Remove obsolete support for configurable udev root X-Git-Tag: debian/247.3-7+deb11u1~2298 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5049dbeef9a968674a6cbb72532c1cb76f0a578e;p=systemd.git Remove obsolete support for configurable udev root 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. --- diff --git a/debian/extra/initramfs.bottom b/debian/extra/initramfs.bottom index 375dfab7d..ff99edc01 100644 --- a/debian/extra/initramfs.bottom +++ b/debian/extra/initramfs.bottom @@ -14,15 +14,10 @@ esac # 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 diff --git a/debian/extra/initramfs.top b/debian/extra/initramfs.top index be879a69a..9e2cbb8ec 100644 --- a/debian/extra/initramfs.top +++ b/debian/extra/initramfs.top @@ -13,7 +13,6 @@ esac echo > /sys/kernel/uevent_helper -UDEV_ROOT=/dev \ /lib/systemd/systemd-udevd --daemon --resolve-names=never udevadm trigger --action=add