#!/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; fall back to util-linux mount that does # not understand -o move mount -n -o move /dev ${rootmnt}/dev || mount -n --move /dev ${rootmnt}/dev # create a temporary symlink to the final /dev for other initramfs scripts if command -v nuke >/dev/null; then nuke /dev else rm -rf /dev fi ln -s ${rootmnt}/dev /dev
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
cloud-initramfs-dyn-netconf | File | 5.08 KB | 0755 |
|
copymods | File | 2.01 KB | 0755 |
|
lvm2 | File | 370 B | 0755 |
|
overlayroot | File | 24.85 KB | 0755 |
|
plymouth | File | 186 B | 0755 |
|
udev | File | 572 B | 0755 |
|