a7d67a2b5a
- Removed NFS/network boot, it never worked anyway. - Removed support for booting from UBIFS and exotic platforms. - Create busybox links at initramfs creation time. - Panic if mounting devtmpfs fails, udev requires this now. - Mount devpts filesystem once udev has been started. - Move all mounted filesystemd to the real root before switching root.
26 lines
368 B
Bash
Executable file
26 lines
368 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PREREQ=""
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
# get pre-requisites
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. ${ROOTDIR}/usr/share/initramfs-tools/hook-functions
|
|
copy_exec ${ROOTDIR}/bin/busybox
|
|
# Create required busybox symlinks
|
|
for f in $(/bin/busybox --list); do
|
|
[ "$f" = "modprobe" ] && continue
|
|
ln -sf /bin/busybox ${DESTDIR}/bin/${f}
|
|
done
|
|
|
|
exit 0
|