mirror of
https://github.com/getsolus/packages.git
synced 2025-05-09 13:01:56 +03:00
common: rebuild-template-script: add a janky function to install packages from local repos
eopkg repo priority is borked, so we have to do it like this, solbuild does something similar.
This commit is contained in:
parent
2fa1e7ffaa
commit
1568e5e20c
1 changed files with 10 additions and 0 deletions
|
@ -178,6 +178,16 @@ verify() {
|
|||
popd
|
||||
}
|
||||
|
||||
# All sorts of jank to install our built packages. Eopkg repos are all sorts of bork.
|
||||
install() {
|
||||
sudo eopkg ar ${MAINPAK} /var/lib/solbuild/local-${MAINPAK}/eopkg-index.xml.xz
|
||||
sudo eopkg er ${MAINPAK}
|
||||
sudo eopkg dr Unstable unstable
|
||||
sudo eopkg up
|
||||
sudo eopkg er Unstable unstable
|
||||
sudo eopkg rr ${MAINPAK}
|
||||
}
|
||||
|
||||
# Add and commit changes before publishing.
|
||||
# TODO: add an excludes mechanism to allow a non-generic message for some packages.
|
||||
commit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue