~comcloudway/builds.sr.ht

27a67c0cf9b09e5667a63aa1ba907b859b0c4350 — Drew DeVault 5 years ago 8c6bd87
image/debian: update build.yml for arm64
1 files changed, 18 insertions(+), 0 deletions(-)

M images/debian/build.yml
M images/debian/build.yml => images/debian/build.yml +18 -0
@@ 51,7 51,25 @@ tasks:
        ssh $server mkdir -p /var/lib/images/debian/$release/$arch
        rsync -rzP $arch/root.img.qcow2 \
          ${server}:/var/lib/images/debian/$release/$arch/new_root.img.qcow2
        case "$arch" in
            arm64)
                rsync -rzP $arch/vmlinuz \
                  ${server}:/var/lib/images/debian/$release/$arch/vmlinuz.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 \
             /var/lib/images/debian/$release/$arch/root.img.qcow2
        case "$arch" in
            arm64)
                ssh $server \
                  mv /var/lib/images/debian/$release/$arch/vmlinuz.new \
                     /var/lib/images/debian/$release/$arch/vmlinuz
                ssh $server \
                  mv /var/lib/images/debian/$release/$arch/initrd.img.new \
                     /var/lib/images/debian/$release/$arch/initrd.img
                ;;
        esac
      done