From 80d98ad93aaf8b02bce80dbbac81b2beed518d3a Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Mon, 13 Jul 2020 23:43:42 -0400 Subject: add basic module support --- make | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'make') 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 -- cgit v1.2.3-70-g09d2