From 5848b0ecb41a4d65f95f5247ea8ba2853271085a Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sat, 25 Dec 2021 18:22:17 -0500 Subject: dynamic busybox, sort cmds --- cpio_list.txt | 1 - make | 5 +++-- 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" }' -- cgit v1.2.3-70-g09d2