From 563d99e199faf255ae04cd1ffcbb063fc496f1e0 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Sun, 31 Jan 2021 23:34:59 +0700 Subject: [PATCH] build-vm: 17-kernel: Add -efu options to shebang, add verbose for make-initrd --- features.in/build-vm/image-scripts.d/17-kernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features.in/build-vm/image-scripts.d/17-kernel b/features.in/build-vm/image-scripts.d/17-kernel index fe51f19e..9c0c6d88 100755 --- a/features.in/build-vm/image-scripts.d/17-kernel +++ b/features.in/build-vm/image-scripts.d/17-kernel @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -efu # predictable file locations make bootloader configuration simple; # this script relates to features.in/stage2/stage1/scripts.d/81-make-initfs @@ -26,7 +26,7 @@ if [ -n "$GLOBAL_VM_INITRDFEATURES" ]; then fi for KVER in $kver; do - make-initrd -N -k "$KVER" AUTODETECT= \ + make-initrd -N -v -k "$KVER" AUTODETECT= \ FEATURES+="add-modules compress cleanup $INITRDFEATURE" \ MODULES_TRY_ADD+="$GLOBAL_VM_INITRDMODULES" \ || { echo "** Error: make-initrd failed" >&2; exit 1; }