From 27a67c0cf9b09e5667a63aa1ba907b859b0c4350 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 30 Jul 2019 22:04:11 -0400 Subject: [PATCH] image/debian: update build.yml for arm64 --- images/debian/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/images/debian/build.yml b/images/debian/build.yml index 9cd3314..5b76ce5 100644 --- a/images/debian/build.yml +++ b/images/debian/build.yml @@ -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 -- 2.38.5