forked from images/live-iso-gnome
Add an extra 1024 bytes to IMGs
This commit is contained in:
parent
0eac2bc67e
commit
a6df42e9ef
2
.github/release-nest-v3-nvidia-iso
vendored
2
.github/release-nest-v3-nvidia-iso
vendored
@ -1 +1 @@
|
|||||||
9
|
10
|
4
build.sh
4
build.sh
@ -64,8 +64,8 @@ mkdir -p ./data/refind/EFI
|
|||||||
cp -vf "$ROOTFS_PATH/boot"/vmlinuz-"$ISO_KERNEL" "./data/refind/EFI/vmlinuz"
|
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"
|
cp -vf "$ROOTFS_PATH/boot"/initrd.img-"$ISO_KERNEL" "./data/refind/EFI/initrd"
|
||||||
|
|
||||||
REFIND_SIZE=$(du -s -B1 ./data/refind | cut -f1)
|
REFIND_SIZE=$(($(du -s -B1 ./data/refind | cut -f1) + 1024))
|
||||||
LIVE_SIZE=$(du -s -B1 $LIVE_BOOT_LIVE_PATH | cut -f1)
|
LIVE_SIZE=$(($(du -s -B1 $LIVE_BOOT_LIVE_PATH | cut -f1) + 1024))
|
||||||
ISO_SIZE=$(($REFIND_SIZE + $LIVE_SIZE))
|
ISO_SIZE=$(($REFIND_SIZE + $LIVE_SIZE))
|
||||||
DD_BOOT_IMAGE="./efiboot.img"
|
DD_BOOT_IMAGE="./efiboot.img"
|
||||||
DD_LIVE_IMAGE="./live.img"
|
DD_LIVE_IMAGE="./live.img"
|
||||||
|
Loading…
Reference in New Issue
Block a user