From c30490e2e884f8655a2704fa6a84e60b13876874 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Sat, 10 Nov 2012 17:51:14 +0400 Subject: [PATCH] 80-make-initfs: fix the silliest mistake ever *Of course* the "weird" [ ... ] || ... construct meant to avoid the non-zero exit status of the whole thing wasn't employed where it actually does make the difference! Thanks ildar@ for hitting and reporting this, as in + verbose '/usr/lib64/propagator exists' + '[' -n '' ']' mki-scripts: .../stage1/scripts.d/80-make-initfs: unable to run script. make[3]: *** [run-scripts] Error 1 --- features.in/stage2/stage1/scripts.d/80-make-initfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features.in/stage2/stage1/scripts.d/80-make-initfs b/features.in/stage2/stage1/scripts.d/80-make-initfs index cc4c11a1..48a99cdb 100755 --- a/features.in/stage2/stage1/scripts.d/80-make-initfs +++ b/features.in/stage2/stage1/scripts.d/80-make-initfs @@ -1,7 +1,7 @@ #!/bin/sh -efux # NB: /etc/initrd.mk carefully prepared by earlier scripts -verbose() { [ -n "$GLOBAL_VERBOSE" ] && echo "** 80-make-initfs: $@" >&2; } +verbose() { [ -z "$GLOBAL_VERBOSE" ] || echo "** 80-make-initfs: $@" >&2; } kver="$(rpm -qa 'kernel-image*' \ --qf '%{installtime} %{version}-%{name}-%{release}\n' \