summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rwxr-xr-xmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/make b/make
index 5dc25f1..9ce479c 100755
--- a/make
+++ b/make
@@ -32,6 +32,11 @@ gen_cmd() {
# generate the main file list
gen_cpio_list() {
sed -e '/^#/d' cpio_list.txt
+ while read insmod mod args; do
+ if [ "$insmod" = insmod ]; then
+ printf 'file %s %s 0644 0 0\n' "$mod" "$mod"
+ fi
+ done < modules.sh
gen_cmd e2fsck
gen_cmd dropbear
# cryptsetup argon2 uses pthread_cancel, glibc dlopens libgcc_s.so.1