From 831538f7f9fbbbffcf603cb9dfa1429043d28944 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 27 Sep 2024 21:44:02 +0200 Subject: [PATCH] build: update Signed-off-by: AuxXxilium --- .github/workflows/autobuild.yml | 10 ++++++++-- .github/workflows/build.yml | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index b9faba68..0f5e4a27 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -124,7 +124,10 @@ jobs: convertova "${IMAGE_FILE}" "arc.ova" # Zip update and generate checksum - zip -9j update.zip "files/p3/"* "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg" + cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION + cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH + cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg + zip -9j update.zip -r "files/p3" sha256sum update.zip >checksum.sha256 # Build incremental @@ -182,7 +185,10 @@ jobs: convertova "${IMAGE_FILE}" "arc-next.ova" # Zip update and generate checksum - zip -9j update-next.zip "files/p3/"* "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg" + cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION + cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH + cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg + zip -9j update-next.zip -r "files/p3" sha256sum update-next.zip >checksum-next.sha256 # Zip image and generate checksum diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b6896ff..766af5f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,7 +162,10 @@ jobs: convertova "${IMAGE_FILE}" "arc.ova" # Zip update and generate checksum - zip -9j update.zip "files/p3/"* "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg" + cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION + cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH + cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg + zip -9j update.zip -r "files/p3" sha256sum update.zip >checksum.sha256 # Build incremental @@ -220,7 +223,10 @@ jobs: convertova "${IMAGE_FILE}" "arc-next.ova" # Zip update and generate checksum - zip -9j update-next.zip "files/p3/"* "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg" + cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION + cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH + cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg + zip -9j update-next.zip -r "files/p3" sha256sum update-next.zip >checksum-next.sha256 # Zip image and generate checksum