From 3182b56e35e1a07c920ebded54fc55686ced99bf Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 11 Nov 2020 07:55:00 -0500 Subject: revamp module support, other refactoring --- cpio_list.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'cpio_list.txt') 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 -- cgit v1.2.3-54-g00ecf