mirror of
https://github.com/Phantop/solus-stuff
synced 2025-01-06 19:57:08 +00:00
Update build to not use local repo
This commit is contained in:
parent
339a5f8eea
commit
5500d51b08
17
build
17
build
|
@ -1,30 +1,21 @@
|
||||||
#!/usr/bin/fish
|
#!/usr/bin/fish
|
||||||
sudo mkdir -p /var/lib/solbuild/local/
|
|
||||||
sudo eopkg it solbuild-config-local-unstable
|
|
||||||
sudo solbuild init
|
|
||||||
|
|
||||||
function buildme
|
function buildme
|
||||||
echo Now building (basename $argv)
|
echo Now building (basename $argv)
|
||||||
cd $argv
|
cd $argv
|
||||||
sudo solbuild build package.yml -d
|
sudo solbuild build package.yml -d
|
||||||
sudo rm /var/lib/solbuild/local/(basename $argv)*.eopkg
|
sudo eopkg it *.eopkg
|
||||||
sudo mv *.eopkg /var/lib/solbuild/local
|
|
||||||
cd ..
|
cd ..
|
||||||
end
|
end
|
||||||
|
|
||||||
cd (dirname (realpath (status -f)))
|
cd (dirname (realpath (status -f)))
|
||||||
|
|
||||||
|
sudo solbuild init
|
||||||
|
|
||||||
if test "$argv"
|
if test "$argv"
|
||||||
for i in $argv
|
for i in $argv
|
||||||
buildme $i
|
buildme $i
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
sudo rm /var/lib/solbuild/local/*.eopkg
|
sudo ./build (cat list)
|
||||||
./build (cat list)
|
|
||||||
end
|
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)
|
|
||||||
|
|
Loading…
Reference in a new issue