From c58fa6561ddb62cb13877b8755e4b88224ae292d Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Wed, 7 Sep 2022 21:57:52 -0400 Subject: [PATCH] Make build script attempt to update limine and rebuild latest each build. --- build/build-iso.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build/build-iso.sh b/build/build-iso.sh index 8f464625..43ba5158 100755 --- a/build/build-iso.sh +++ b/build/build-iso.sh @@ -78,10 +78,18 @@ umount_tempdisk echo "Building Distro ISO ..." qemu-system-x86_64 -machine q35,accel=kvm -drive format=raw,file=$TMPDISK -m 1G -rtc base=localtime -smp 4 -device isa-debug-exit +if [ -d "limine" ] +then + cd limine + git pull + rm limine-deploy + rm limine-version + cd .. +fi if [ ! -d "limine" ]; then git clone https://github.com/limine-bootloader/limine.git --branch=v4.x-branch-binary --depth=1 - make -C limine fi +make -C limine mount_tempdisk echo "Extracting MyDistro ISO from vdisk ..."