-
- Downloads
main/postmarketos-mkinitfs: modules from files (!1123)
Read kernel module names from files in /etc/postmarketos-mkinitfs/modules and print out which modules are required by which of these files as the initramfs gets generated. Put the default modules into a new 00-default.modules. This allows mkinitfs hooks to add modules to the initramfs. Parse the modules from a file similar to modules-load.d, with commented lines and empty lines ignored. Add a simple test script for that and run it in check().
Showing
- .gitlab-ci/shellcheck.sh 1 addition, 0 deletions.gitlab-ci/shellcheck.sh
- main/postmarketos-mkinitfs/00-default.modules 3 additions, 0 deletionsmain/postmarketos-mkinitfs/00-default.modules
- main/postmarketos-mkinitfs/APKBUILD 15 additions, 5 deletionsmain/postmarketos-mkinitfs/APKBUILD
- main/postmarketos-mkinitfs/mkinitfs_functions.sh 39 additions, 4 deletionsmain/postmarketos-mkinitfs/mkinitfs_functions.sh
- main/postmarketos-mkinitfs/mkinitfs_test.sh 22 additions, 0 deletionsmain/postmarketos-mkinitfs/mkinitfs_test.sh
main/postmarketos-mkinitfs/mkinitfs_test.sh
0 → 100644
Please register or sign in to comment