systemd/debian/extra/initramfs-tools/scripts/init-bottom/udev
Martin Pitt 9e1d0901b5 Clean up Debian specific file installation
In debian/rules, remove manual file installation. Move them to
debian/*.install.

Move all Debian specific installed files to debian/extra/.
2015-01-22 09:46:15 +01:00

24 lines
403 B
Bash
Executable File

#!/bin/sh -e
PREREQS=""
prereqs() { echo "$PREREQS"; }
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
# Stop udevd, we'll miss a few events while we run init, but we catch up
udevadm control --exit
# move the /dev tmpfs to the rootfs
mount -n -o move /dev ${rootmnt}/dev
# create a temporary symlink to the final /dev for other initramfs scripts
nuke /dev
ln -s ${rootmnt}/dev /dev