diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-13 23:43:42 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-13 23:43:42 -0400 |
commit | 80d98ad93aaf8b02bce80dbbac81b2beed518d3a (patch) | |
tree | 830420eda23839518485ae6e58e83d2ec5ac4339 /make | |
parent | 3a00916f4eb86a96de7f8c94974d20e3ea91c474 (diff) | |
download | minitramfs-80d98ad93aaf8b02bce80dbbac81b2beed518d3a.tar.xz minitramfs-80d98ad93aaf8b02bce80dbbac81b2beed518d3a.zip |
add basic module support
Diffstat (limited to 'make')
-rwxr-xr-x | make | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |