Commit 58e83cea authored by Anton Midyukov's avatar Anton Midyukov

build-vm, kernel: Not add specified initrd features into initrd.mk

This features not needed for auto-detect. We also add features not only to initrd.mk, but also specify them explicitly in the command.
parent 5c1239c9
......@@ -27,6 +27,7 @@ fi
for KVER in $kver; do
make-initrd -N -k "$KVER" AUTODETECT= \
FEATURES+="add-modules compress cleanup $INITRDFEATURE" \
MODULES_TRY_ADD+="$GLOBAL_VM_INITRDMODULES" \
|| { echo "** Error: make-initrd failed" >&2; exit 1; }
done
......
......@@ -46,7 +46,6 @@ use/kernel/server:
# for vm targets
use/kernel/initrd-setup: use/kernel
@$(call add,VM_INITRDFEATURES,add-modules compress cleanup)
@$(call try,VM_FSTYPE,ext4)
@$(call add,VM_INITRDMODULES,$$(VM_FSTYPE))
@$(call add,VM_INITRDMODULES,ahci sd_mod)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment