mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
test: use a correct kernel binary on ppc64le machines
Ubuntu calls the kernel binary as `vmlinux-*`, but RHEL/CentOS uses
the "standard" `vmlinuz-` prefix.
Follow-up to eaa602cb14
.
This commit is contained in:
parent
33e82f3ef3
commit
46db176f8c
|
@ -347,7 +347,9 @@ run_qemu() {
|
|||
[ "$ARCH" ] || ARCH=$(uname -m)
|
||||
case $ARCH in
|
||||
ppc64*)
|
||||
KERNEL_BIN="/boot/vmlinux-$KERNEL_VER"
|
||||
# Ubuntu ppc64* calls the kernel binary as vmlinux-*, RHEL/CentOS
|
||||
# uses the "standard" vmlinuz- prefix
|
||||
[[ -e "/boot/vmlinux-$KERNEL_VER" ]] && KERNEL_BIN="/boot/vmlinux-$KERNEL_VER" || KERNEL_BIN="/boot/vmlinuz-$KERNEL_VER"
|
||||
CONSOLE=hvc0
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue