From fc911b49e02bb3443de18bf7af9c38b0a5401379 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 31 Jul 2019 08:25:03 -0400 Subject: [PATCH] image/debian: specify kernel package explicitly --- images/debian/genimg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/images/debian/genimg b/images/debian/genimg index 6b9934e..37b7ef6 100755 --- a/images/debian/genimg +++ b/images/debian/genimg @@ -5,14 +5,17 @@ case $arch in amd64) iface=ens3 qarch=x86_64 + kernel=linux-image-amd64 ;; arm64) iface=enp0s1 qarch=aarch64 + kernel=linux-image-arm64 ;; ppc64el) iface=ens3 - qarch=ppc64 + qarch=ppc64le + kernel=linux-image-powerpc ;; *) echo "unsupported architecture $arch" @@ -106,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 linux-image-$arch +run_root apt-get -y install $kernel run_root apt-get -y install \ build-essential git mercurial ssh sudo dirmngr apt-transport-https -- 2.38.5