From 6325fd7707fa2e77b02a1bc6a614d12965e83d2a Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Sun, 16 Oct 2022 18:55:18 -0400 Subject: [PATCH] Make build-iso.sh script remove OldMBR.BIN and BootMHD2.BIN from isohybrid limine ISO directory. --- build/build-iso.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/build-iso.sh b/build/build-iso.sh index 4bcb7b2d..cc56a5be 100755 --- a/build/build-iso.sh +++ b/build/build-iso.sh @@ -112,6 +112,8 @@ cp $TMPMOUNT/Tmp/MyDistro.ISO.C ./ZealOS-MyDistro.iso sudo rm $TMPMOUNT/Tmp/MyDistro.ISO.C 2> /dev/null echo "Setting up temp ISO directory contents for use with limine xorriso command ..." sudo cp -rf $TMPMOUNT/* $TMPISODIR +sudo rm $TMPISODIR/Boot/OldMBR.BIN 2> /dev/null +sudo rm $TMPISODIR/Boot/BootMHD2.BIN 2> /dev/null sudo mkdir -p $TMPISODIR/EFI/BOOT sudo cp limine/Limine-HDD.HH $TMPISODIR/Boot/Limine-HDD.HH sudo cp limine/BOOTX64.EFI $TMPISODIR/EFI/BOOT/BOOTX64.EFI