summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpio_list.txt1
-rwxr-xr-xmake5
2 files changed, 3 insertions, 3 deletions
diff --git a/cpio_list.txt b/cpio_list.txt
index 5bf99aa..3b78a87 100644
--- a/cpio_list.txt
+++ b/cpio_list.txt
@@ -26,7 +26,6 @@ slink /sbin/switch_root ../bin/busybox 0777 0 0
file /etc/modules ./modules 0644 0 0
# executables
-file /bin/busybox /bin/busybox 0755 0 0
file /init ./init 0755 0 0
file /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 0755 0 0
diff --git a/make b/make
index 58d6152..ad7443a 100755
--- a/make
+++ b/make
@@ -18,9 +18,10 @@ gen_cpio_list() {
tr ' ' '\n' < modules.dep | sed -e "s/://;s:.*:file /lib/modules/$KERNVER/& /lib/modules/$KERNVER/& 0644 0 0:"
# commands
- gen_cmd e2fsck
- gen_cmd dropbear
+ gen_cmd busybox
gen_cmd cryptsetup
+ gen_cmd dropbear
+ gen_cmd e2fsck
# cryptsetup needs libgcc_s.so.1 for pthread_cancel
ldconfig -p | awk '$1 == "libgcc_s.so.1" && $2 ~ /x86-64/ { print "file /lib64/" $1 " " $4 " 0755 0 0" }'