M images/debian/functions => images/debian/functions +1 -1
@@ 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"
;;
M images/debian/genimg => images/debian/genimg +5 -5
@@ 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