aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gen_determineargs.sh')
-rwxr-xr-xgen_determineargs.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 6326a5e6..a5bebd5e 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -787,6 +787,10 @@ determine_real_args() {
if isTrue "${BUILD_RAMDISK}"
then
+ # Internal module group to get modules used in genkernel features
+ # into initramfs.
+ GK_INITRAMFS_ADDITIONAL_KMODULES=""
+
if [[ "${CMD_BOOTFONT}" != "none" ]]
then
if [[ "${CMD_BOOTFONT}" == "current" ]]
@@ -851,6 +855,11 @@ determine_real_args() {
fi
fi
+ if isTrue "${BCACHE}"
+ then
+ GK_INITRAMFS_ADDITIONAL_KMODULES+=" bcache"
+ fi
+
if isTrue "${ZFS}"
then
if isTrue "$(tc-is-cross-compiler)"