add the repo for archiso, not the system, instead
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
askiiart 2024-10-02 21:25:02 -05:00
parent 4a4928ca6d
commit b3b84d3df5
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

View file

@ -1,13 +1,18 @@
#!/usr/bin/env bash
echo '
[askiiart]
SigLevel = Optional
Server = https://askiiart.net/repos/archlinux/$arch' >> /etc/pacman.conf
#echo '
#[askiiart]
#SigLevel = Optional
#Server = https://askiiart.net/repos/archlinux/$arch' >> /etc/pacman.conf
pacman -Sy archiso git grub --noconfirm
git clone https://git.blendos.co/blendOS/image-builder.git
cd image-builder
cd ./image-builder/
sed -i 's/\[breakfast\]/[askiiart]/g' ./pacman.conf
sed -i 's/https:\/\/pkg-repo\.blendos\.co/https:\/\/askiiart.net\/repos\/archlinux\/$arch\nSigLevel = Optional/g' ./pacman.conf
sed -i 's/\[breakfast\]/[askiiart]/g' ./airootfs/etc/pacman.conf
sed -i 's/https:\/\/pkg-repo\.blendos\.co/https:\/\/askiiart.net\/repos\/archlinux\/$arch\nSigLevel = Optional/g' ./airootfs/etc/pacman.conf
mkarchiso -v -w workdir/ -o out/ .
cd ./out/