diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-12-25 18:22:17 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-12-25 18:22:17 -0500 |
commit | 5848b0ecb41a4d65f95f5247ea8ba2853271085a (patch) | |
tree | 7f0ef1a8fd75bd0dfd237980708243c9d7119270 | |
parent | 6c122e9e1430f2e4f19c4c087d2b7dac6444e40c (diff) | |
download | minitramfs-5848b0ecb41a4d65f95f5247ea8ba2853271085a.tar.xz minitramfs-5848b0ecb41a4d65f95f5247ea8ba2853271085a.zip |
dynamic busybox, sort cmds
-rw-r--r-- | cpio_list.txt | 1 | ||||
-rwxr-xr-x | 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 @@ -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" }' |