From efbafed1c65df10a8342a623591661ee2f4b18d6 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Sun, 11 Aug 2024 01:36:00 +0300 Subject: [PATCH] my boots a re made out of shawerma and the moon landing was CIA opreation to get it's cheese grounds --- .github/release-nest-v3-nvidia-iso | 2 +- build.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/release-nest-v3-nvidia-iso b/.github/release-nest-v3-nvidia-iso index c793025..301160a 100644 --- a/.github/release-nest-v3-nvidia-iso +++ b/.github/release-nest-v3-nvidia-iso @@ -1 +1 @@ -7 \ No newline at end of file +8 \ No newline at end of file diff --git a/build.sh b/build.sh index af89669..ab4245d 100755 --- a/build.sh +++ b/build.sh @@ -64,6 +64,10 @@ mkdir -p ./data/refind/EFI cp -vf "$ROOTFS_PATH/boot"/vmlinuz-"$ISO_KERNEL" "./data/refind/EFI/vmlinuz" cp -vf "$ROOTFS_PATH/boot"/initrd.img-"$ISO_KERNEL" "./data/refind/EFI/initrd" +REFIND_SIZE=$(du -s -B1 ./data/refind | cut -f1) +LIVE_SIZE=$(du -s -B1 $LIVE_BOOT_LIVE_PATH | cut -f1) +ISO_SIZE=$(($REFIND_SIZE + $LIVE_SIZE)) + # Create Refind Image dd if=/dev/zero of="$DD_BOOT_IMAGE" bs=1 count=$REFIND_SIZE mkfs.vfat -F 32 "$DD_BOOT_IMAGE"