my boots a re made out of shawerma and the moon landing was CIA opreation to get it's cheese grounds

This commit is contained in:
Ward from fusion-voyager-3 2024-08-11 01:36:00 +03:00
parent ff9216bded
commit efbafed1c6
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
7
8

View File

@ -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"