Commit 563d99e1 authored by Anton Midyukov's avatar Anton Midyukov

build-vm: 17-kernel: Add -efu options to shebang, add verbose for make-initrd

parent d86bb07f
#!/bin/sh #!/bin/sh -efu
# predictable file locations make bootloader configuration simple; # predictable file locations make bootloader configuration simple;
# this script relates to features.in/stage2/stage1/scripts.d/81-make-initfs # this script relates to features.in/stage2/stage1/scripts.d/81-make-initfs
...@@ -26,7 +26,7 @@ if [ -n "$GLOBAL_VM_INITRDFEATURES" ]; then ...@@ -26,7 +26,7 @@ if [ -n "$GLOBAL_VM_INITRDFEATURES" ]; then
fi fi
for KVER in $kver; do for KVER in $kver; do
make-initrd -N -k "$KVER" AUTODETECT= \ make-initrd -N -v -k "$KVER" AUTODETECT= \
FEATURES+="add-modules compress cleanup $INITRDFEATURE" \ FEATURES+="add-modules compress cleanup $INITRDFEATURE" \
MODULES_TRY_ADD+="$GLOBAL_VM_INITRDMODULES" \ MODULES_TRY_ADD+="$GLOBAL_VM_INITRDMODULES" \
|| { echo "** Error: make-initrd failed" >&2; exit 1; } || { echo "** Error: make-initrd failed" >&2; exit 1; }
......
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