add option to keep all kernel modules
This commit is contained in:
parent
45e3ea71ee
commit
895d54b046
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user