git.annexia.org
/
qemu-sanity-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c2ebe
)
Search for +debug kernels when --kernel option is not used (RHBZ#1002189).
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 28 Aug 2013 15:23:21 +0000
(16:23 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 28 Aug 2013 15:23:44 +0000
(16:23 +0100)
qemu-sanity-check.in
patch
|
blob
|
history
diff --git
a/qemu-sanity-check.in
b/qemu-sanity-check.in
index
712fd8b
..
dc99786
100644
(file)
--- a/
qemu-sanity-check.in
+++ b/
qemu-sanity-check.in
@@
-99,7
+99,7
@@
fi
# Locate kernel if not specified.
if [ -z "$kernel" ]; then
- kernel="$(ls -vr /boot/vmlinuz-*.$arch | head -1)"
+ kernel="$(ls -vr /boot/vmlinuz-*.$arch
{,+debug} 2>/dev/null
| head -1)"
if [ -z "$kernel" ]; then
echo "$0: cannot find a Linux kernel in /boot"
echo "Choose a kernel to test using --kernel=/path/to/vmlinuz"