build-vm: 07-kernel: all initrd modules are optional

The problem at hand is that different kernels can have
varying module sets, and it makes sense to put four of
those at once sometimes; so avoid silly build breakage.
This commit is contained in:
Anton Midyukov 2019-08-27 14:33:02 +07:00 committed by Michael Shigorin
parent d35c9d49f5
commit 0fe6b1ee7d

View File

@ -15,7 +15,7 @@ cd /boot
for KVER in $kver; do
make-initrd -N -k "$KVER" AUTODETECT= \
FEATURES+="$GLOBAL_VM_INITRDFEATURES" \
MODULES_ADD+="$GLOBAL_VM_INITRDMODULES" \
MODULES_TRY_ADD+="$GLOBAL_VM_INITRDMODULES" \
|| { echo "** Error: make-initrd failed" >&2; exit 1; }
done