~comcloudway/builds.sr.ht

097f4de4c47947e36d2db92b22c19e7849399400 — Drew DeVault 5 years ago 6954c77
images/debian: fix network iface on ppc64el
2 files changed, 16 insertions(+), 2 deletions(-)

M images/debian/build.yml
M images/debian/genimg
M images/debian/build.yml => images/debian/build.yml +15 -1
@@ 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

M images/debian/genimg => images/debian/genimg +1 -1
@@ 13,7 13,7 @@ case $arch in
		kpkg=linux-image-arm64
		;;
	ppc64el)
		iface=ens3
		iface=enp0s0
		qarch=ppc64le
		kpkg=linux-image-powerpc64le
		;;