mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +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 ..."
|
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
|
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" ]
|
if [ -d "limine" ]
|
||||||
then
|
then
|
||||||
cd limine
|
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
|
git pull
|
||||||
rm limine-deploy
|
rm limine-deploy
|
||||||
rm limine-version
|
rm limine-version
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
if [ ! -d "limine" ]; then
|
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
|
fi
|
||||||
make -C limine
|
make -C limine
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue