1
0
Fork 0
mirror of https://github.com/Phantop/solus-stuff synced 2025-01-05 03:07:10 +00:00

Update build to not use local repo

This commit is contained in:
Phantop 2020-11-26 07:04:46 +00:00
parent 339a5f8eea
commit 5500d51b08

17
build
View file

@ -1,30 +1,21 @@
#!/usr/bin/fish
sudo mkdir -p /var/lib/solbuild/local/
sudo eopkg it solbuild-config-local-unstable
sudo solbuild init
function buildme
echo Now building (basename $argv)
cd $argv
sudo solbuild build package.yml -d
sudo rm /var/lib/solbuild/local/(basename $argv)*.eopkg
sudo mv *.eopkg /var/lib/solbuild/local
sudo eopkg it *.eopkg
cd ..
end
cd (dirname (realpath (status -f)))
sudo solbuild init
if test "$argv"
for i in $argv
buildme $i
end
else
sudo rm /var/lib/solbuild/local/*.eopkg
./build (cat list)
sudo ./build (cat list)
end
sudo mv (fd -e eopkg) /var/lib/solbuild/local/
cd /var/lib/solbuild/local/
sudo eopkg index --skip-signing /var/lib/solbuild/local/
sudo eopkg ur
sudo eopkg it --reinstall (basename $argv)