mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
test/test-functions: on PP64 use vmlinux
At least on Ubuntu, ppc64el uses vmlinux-, not vmlinuz. With this, it should be possible to run qemu tests on ppc64el as part of Ubuntu autopkgtests.
This commit is contained in:
parent
01dab40ba5
commit
eaa602cb14
@ -103,7 +103,15 @@ run_qemu() {
|
||||
if [[ "$LOOKS_LIKE_ARCH" ]]; then
|
||||
KERNEL_BIN=/boot/vmlinuz-linux
|
||||
else
|
||||
KERNEL_BIN=/boot/vmlinuz-$KERNEL_VER
|
||||
[ "$ARCH" ] || ARCH=$(uname -m)
|
||||
case $ARCH in
|
||||
ppc64*)
|
||||
KERNEL_BIN=/boot/vmlinux-$KERNEL_VER
|
||||
;;
|
||||
*)
|
||||
KERNEL_BIN=/boot/vmlinuz-$KERNEL_VER
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user