projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d9c9ef
)
98-clean-chroot: do not fail with more than one kernel version installed
author
Michael Prokop
<mika@grml.org>
Tue, 1 Nov 2011 19:10:17 +0000
(20:10 +0100)
committer
Michael Prokop
<mika@grml.org>
Tue, 1 Nov 2011 19:10:19 +0000
(20:10 +0100)
grml-live (well, the ISO) doesn't support more than one kernel
version, but don't fail in this script if more than one kernel
configuration is present.
Thanks for reporting, Christian.
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
index
c2f3f77
..
6357c78
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
@@
-9,7
+9,7
@@
set -u
set -e
-if !
[ $(ls $target/boot/config-* 2>/dev/null) ]
; then
+if !
ls $target/boot/config-* &>/dev/null
; then
echo "No kernel config files (/boot/config-*) found. No kernel-image package installed?" >&2
exit 1
fi