Commit c30490e2 authored by Michael Shigorin's avatar Michael Shigorin

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
parent 45cddfd2
#!/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' \
......
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