4
0

add option to keep all kernel modules

This commit is contained in:
Benjamin Böhmke 2020-01-29 18:38:21 +01:00
parent 45e3ea71ee
commit 895d54b046

View File

@ -256,6 +256,11 @@ mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Linux
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
echo ">> Remove kernel modules"
if [ "$DEFAULT_KERNEL_MODULES" == "*" ]; then
echo "skiped -> keep all modules"
else
cd ${ROOTFS_PATH}/lib/modules
# loop all kernel versions
@ -276,6 +281,7 @@ for d in * ; do
done
cd ${WORK_PATH}
fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# create boot FS