From 097f4de4c47947e36d2db92b22c19e7849399400 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 31 Jul 2019 10:27:55 -0400 Subject: [PATCH] images/debian: fix network iface on ppc64el --- images/debian/build.yml | 16 +++++++++++++++- images/debian/genimg | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/images/debian/build.yml b/images/debian/build.yml index 640fe4a..59c2558 100644 --- a/images/debian/build.yml +++ b/images/debian/build.yml @@ -9,7 +9,7 @@ packages: sources: - https://git.sr.ht/~sircmpwn/builds.sr.ht environment: - arch: ppc64el + arch: amd64 release: stable slaves: - deploy@azusa.runners.sr.ht @@ -61,6 +61,12 @@ tasks: rsync -rzP $arch/initrd.img \ ${server}:/var/lib/images/debian/$release/$arch/initrd.img.new ;; + ppc*) + rsync -rzP $arch/vmlinux \ + ${server}:/var/lib/images/debian/$release/$arch/vmlinux.new + rsync -rzP $arch/initrd.img \ + ${server}:/var/lib/images/debian/$release/$arch/initrd.img.new + ;; esac ssh $server \ mv /var/lib/images/debian/$release/$arch/new_root.img.qcow2 \ @@ -74,5 +80,13 @@ tasks: mv /var/lib/images/debian/$release/$arch/initrd.img.new \ /var/lib/images/debian/$release/$arch/initrd.img ;; + ppc*) + ssh $server \ + mv /var/lib/images/debian/$release/$arch/vmlinux.new \ + /var/lib/images/debian/$release/$arch/vmlinux + ssh $server \ + mv /var/lib/images/debian/$release/$arch/initrd.img.new \ + /var/lib/images/debian/$release/$arch/initrd.img + ;; esac done diff --git a/images/debian/genimg b/images/debian/genimg index fe85485..cbdccde 100755 --- a/images/debian/genimg +++ b/images/debian/genimg @@ -13,7 +13,7 @@ case $arch in kpkg=linux-image-arm64 ;; ppc64el) - iface=ens3 + iface=enp0s0 qarch=ppc64le kpkg=linux-image-powerpc64le ;; -- 2.38.5