mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Make build script limine remote HEAD branch automatically adjust based on new LIMINE_BINARY_BRANCH variable.
This commit is contained in:
parent
e35d49f6df
commit
2101e5f648
1 changed files with 7 additions and 1 deletions
|
@ -78,16 +78,22 @@ 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
|
||||
|
||||
LIMINE_BINARY_BRANCH="v4.x-branch-binary"
|
||||
|
||||
if [ -d "limine" ]
|
||||
then
|
||||
cd limine
|
||||
git remote set-branches origin $LIMINE_BINARY_BRANCH
|
||||
git fetch
|
||||
git remote set-head origin $LIMINE_BINARY_BRANCH
|
||||
git switch $LIMINE_BINARY_BRANCH
|
||||
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
|
||||
git clone https://github.com/limine-bootloader/limine.git --branch=$LIMINE_BINARY_BRANCH --depth=1
|
||||
fi
|
||||
make -C limine
|
||||
|
||||
|
|
Loading…
Reference in a new issue