summaryrefslogtreecommitdiff
path: root/cpio_list.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpio_list.txt')
-rw-r--r--cpio_list.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/cpio_list.txt b/cpio_list.txt
index ca93071..d4dc126 100644
--- a/cpio_list.txt
+++ b/cpio_list.txt
@@ -15,12 +15,20 @@ dir /run/cryptsetup 0755 0 0
nod /dev/console 0600 0 0 c 5 1
# symlinks
-slink /bin/sh busybox 0755 0 0
-slink /etc/mtab /proc/self/mounts 0755 0 0
+slink /bin/sh busybox 0777 0 0
+slink /etc/mtab /proc/self/mounts 0777 0 0
+# kernel.modprobe
+slink /sbin/modprobe ../bin/busybox 0777 0 0
+# required to mount /proc for busybox self-exec /proc/self/exe
+slink /sbin/mount ../bin/busybox 0777 0 0
+# required to exec switch_root after umount /proc
+slink /sbin/switch_root ../bin/busybox 0777 0 0
+
+# config files
+file /etc/modules ./modules 0644 0 0
# executables
file /bin/busybox /bin/busybox 0755 0 0
-file /etc/modules.sh ./modules.sh 0755 0 0
file /init ./init 0755 0 0
# firmware