Added a repo variable to the build helper script.

Anton Hvornum 2021-03-21 10:54:19 +01:00
parent 31cccfcbce
commit ec6d0c1ee9
1 changed files with 3 additions and 2 deletions

@ -71,6 +71,7 @@ then
exit 1
fi
REPO="https://github.com/Torxed/archinstall.git"
ARCHISO_FOLDER=$1
SKIP_BUILD=$2
BRANCH="master"
@ -88,7 +89,7 @@ then
mkdir -p "${ARCHISO_FOLDER}"
cp -r /usr/share/archiso/configs/releng/* "${ARCHISO_FOLDER}/"
git clone https://github.com/Torxed/archinstall "${ARCHISO_FOLDER}/airootfs/root/archinstall-git"
git clone "${REPO}" "${ARCHISO_FOLDER}/airootfs/root/archinstall-git"
(cd "${ARCHISO_FOLDER}/airootfs/root/archinstall-git"; git checkout "${BRANCH}" )
echo "git" >> "${ARCHISO_FOLDER}/packages.x86_64"
@ -112,7 +113,7 @@ sudo qemu-system-x86_64 \
-enable-kvm \
-machine q35,accel=kvm \
-device intel-iommu \
-m 8192 \
-m 8192 \
-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_CODE.fd \
-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_VARS.fd \
-device virtio-scsi-pci,bus=pcie.0,id=scsi0 \