tree: fix branch system

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-05 17:36:39 +02:00
parent 98c5a6ed95
commit bf7c53bc4d
4 changed files with 5 additions and 5 deletions

View File

@ -129,7 +129,7 @@ jobs:
convertova "${IMAGE_FILE}" "arc.ova" convertova "${IMAGE_FILE}" "arc.ova"
# Zip update and generate checksum # Zip update and generate checksum
zip -9j update.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/boot/grub/grub.cfg" zip -9j update.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg"
sha256sum update.zip >checksum.sha256 sha256sum update.zip >checksum.sha256
# Build incremental # Build incremental
@ -187,7 +187,7 @@ jobs:
convertova "${IMAGE_FILE}" "arc-next.ova" convertova "${IMAGE_FILE}" "arc-next.ova"
# Zip update and generate checksum # Zip update and generate checksum
zip -9j update-next.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/boot/grub/grub.cfg" zip -9j update-next.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg"
sha256sum update-next.zip >checksum-next.sha256 sha256sum update-next.zip >checksum-next.sha256
# Zip image and generate checksum # Zip image and generate checksum

View File

@ -167,7 +167,7 @@ jobs:
convertova "${IMAGE_FILE}" "arc.ova" convertova "${IMAGE_FILE}" "arc.ova"
# Zip update and generate checksum # Zip update and generate checksum
zip -9j update.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/boot/grub/grub.cfg" zip -9j update.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg"
sha256sum update.zip >checksum.sha256 sha256sum update.zip >checksum.sha256
# Build incremental # Build incremental
@ -225,7 +225,7 @@ jobs:
convertova "${IMAGE_FILE}" "arc-next.ova" convertova "${IMAGE_FILE}" "arc-next.ova"
# Zip update and generate checksum # Zip update and generate checksum
zip -9j update-next.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/boot/grub/grub.cfg" zip -9j update-next.zip "files/p3/bzImage-arc" "files/p3/initrd-arc" "files/p1/ARC-VERSION" "files/p1/ARC-BRANCH" "files/p1/boot/grub/grub.cfg"
sha256sum update-next.zip >checksum-next.sha256 sha256sum update-next.zip >checksum-next.sha256
# Zip image and generate checksum # Zip image and generate checksum

View File

@ -18,7 +18,6 @@ GRUB_PATH="${PART1_PATH}/boot/grub"
ORI_ZIMAGE_FILE="${PART2_PATH}/zImage" ORI_ZIMAGE_FILE="${PART2_PATH}/zImage"
ORI_RDGZ_FILE="${PART2_PATH}/rd.gz" ORI_RDGZ_FILE="${PART2_PATH}/rd.gz"
ARC_BZIMAGE_FILE="${PART3_PATH}/bzImage-arc" ARC_BZIMAGE_FILE="${PART3_PATH}/bzImage-arc"
ARC_RAMDISK_FILE="${PART3_PATH}/initrd-arc" ARC_RAMDISK_FILE="${PART3_PATH}/initrd-arc"
MOD_ZIMAGE_FILE="${PART3_PATH}/zImage-dsm" MOD_ZIMAGE_FILE="${PART3_PATH}/zImage-dsm"

View File

@ -175,6 +175,7 @@ function updateLoader() {
echo "Installing new Loader Image..." echo "Installing new Loader Image..."
mv -f "${TMP_PATH}/grub.cfg" "${USER_GRUB_CONFIG}" mv -f "${TMP_PATH}/grub.cfg" "${USER_GRUB_CONFIG}"
mv -f "${TMP_PATH}/ARC-VERSION" "${PART1_PATH}/ARC-VERSION" mv -f "${TMP_PATH}/ARC-VERSION" "${PART1_PATH}/ARC-VERSION"
mv -f "${TMP_PATH}/ARC-BRANCH" "${PART1_PATH}/ARC-BRANCH"
mv -f "${TMP_PATH}/bzImage-arc" "${ARC_BZIMAGE_FILE}" mv -f "${TMP_PATH}/bzImage-arc" "${ARC_BZIMAGE_FILE}"
mv -f "${TMP_PATH}/initrd-arc" "${ARC_RAMDISK_FILE}" mv -f "${TMP_PATH}/initrd-arc" "${ARC_RAMDISK_FILE}"
rm -f "${TMP_PATH}/update.zip" rm -f "${TMP_PATH}/update.zip"