1
0
mirror of https://github.com/systemd/systemd.git synced 2025-09-20 05:44:42 +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:
Dimitri John Ledkov
2018-02-19 20:47:41 +00:00
parent 01dab40ba5
commit eaa602cb14

View File

@@ -103,7 +103,15 @@ run_qemu() {
if [[ "$LOOKS_LIKE_ARCH" ]]; then
KERNEL_BIN=/boot/vmlinuz-linux
else
[ "$ARCH" ] || ARCH=$(uname -m)
case $ARCH in
ppc64*)
KERNEL_BIN=/boot/vmlinux-$KERNEL_VER
;;
*)
KERNEL_BIN=/boot/vmlinuz-$KERNEL_VER
;;
esac
fi
fi