summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-25 18:22:17 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-25 18:22:17 -0500
commit5848b0ecb41a4d65f95f5247ea8ba2853271085a (patch)
tree7f0ef1a8fd75bd0dfd237980708243c9d7119270 /make
parent6c122e9e1430f2e4f19c4c087d2b7dac6444e40c (diff)
downloadminitramfs-5848b0ecb41a4d65f95f5247ea8ba2853271085a.tar.xz
minitramfs-5848b0ecb41a4d65f95f5247ea8ba2853271085a.zip
dynamic busybox, sort cmds
Diffstat (limited to 'make')
-rwxr-xr-xmake5
1 files changed, 3 insertions, 2 deletions
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" }'