From 1a70bc35c97e81bcd7149a569eb04f0dc8f4caf3 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 31 Jul 2019 09:01:26 -0400 Subject: [PATCH] image/debian: ppc64el kernel is "vmlinux" --- images/debian/functions | 2 +- images/debian/genimg | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/images/debian/functions b/images/debian/functions index a72cfc6..fe6d62b 100644 --- a/images/debian/functions +++ b/images/debian/functions @@ -24,7 +24,7 @@ boot() { _boot \ $(cpu_opts ppc64le) \ -device virtio-blk-pci,drive=root \ - -kernel "$wd/$arch/vmlinuz" \ + -kernel "$wd/$arch/vmlinux" \ -initrd "$wd/$arch/initrd.img" \ -append "root=/dev/vda3" ;; diff --git a/images/debian/genimg b/images/debian/genimg index 6774a6f..fe85485 100755 --- a/images/debian/genimg +++ b/images/debian/genimg @@ -5,17 +5,17 @@ case $arch in amd64) iface=ens3 qarch=x86_64 - kernel=linux-image-amd64 + kpkg=linux-image-amd64 ;; arm64) iface=enp0s1 qarch=aarch64 - kernel=linux-image-arm64 + kpkg=linux-image-arm64 ;; ppc64el) iface=ens3 qarch=ppc64le - kernel=linux-image-powerpc64le + kpkg=linux-image-powerpc64le ;; *) echo "unsupported architecture $arch" @@ -109,7 +109,7 @@ EOF run_root apt-key update run_root apt-get update --allow-releaseinfo-change run_root apt-get -y install locales -run_root apt-get -y install $kernel +run_root apt-get -y install $kpkg run_root apt-get -y install \ build-essential git mercurial ssh sudo dirmngr apt-transport-https @@ -153,7 +153,7 @@ case "$arch" in cp /mnt/boot/initrd.img-* $arch/initrd.img ;; ppc64el) - cp /mnt/boot/vmlinuz-* $arch/vmlinuz + cp /mnt/boot/vmlinux-* $arch/vmlinux cp /mnt/boot/initrd.img-* $arch/initrd.img ;; esac -- 2.38.5