common/travis/: add bootstrap repo to CI scripts
This commit is contained in:
parent
2438f3a3a4
commit
3c75453c0c
3 changed files with 7 additions and 3 deletions
|
@ -9,7 +9,9 @@ if [ "$1" != "$XBPS_TARGET_ARCH" ]; then
|
||||||
ROOTDIR="-r /usr/$triplet"
|
ROOTDIR="-r /usr/$triplet"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ADDREPO="--repository=$HOME/hostdir/binpkgs --repository=$HOME/hostdir/binpkgs/nonfree"
|
ADDREPO="--repository=$HOME/hostdir/binpkgs/bootstrap
|
||||||
|
--repository=$HOME/hostdir/binpkgs
|
||||||
|
--repository=$HOME/hostdir/binpkgs/nonfree"
|
||||||
|
|
||||||
while read -r pkg; do
|
while read -r pkg; do
|
||||||
for subpkg in $(xsubpkg $pkg); do
|
for subpkg in $(xsubpkg $pkg); do
|
||||||
|
|
|
@ -7,7 +7,8 @@ export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo
|
||||||
while read -r pkg; do
|
while read -r pkg; do
|
||||||
for subpkg in $(xsubpkg $pkg); do
|
for subpkg in $(xsubpkg $pkg); do
|
||||||
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
||||||
xbps-query --repository=$HOME/hostdir/binpkgs \
|
xbps-query --repository=$HOME/hostdir/binpkgs/bootstrap \
|
||||||
|
--repository=$HOME/hostdir/binpkgs \
|
||||||
--repository=$HOME/hostdir/binpkgs/nonfree \
|
--repository=$HOME/hostdir/binpkgs/nonfree \
|
||||||
-i -f "$subpkg" ||
|
-i -f "$subpkg" ||
|
||||||
/bin/echo -e "\x1b[33m $subpkg wasn't found\x1b[0m"
|
/bin/echo -e "\x1b[33m $subpkg wasn't found\x1b[0m"
|
||||||
|
|
|
@ -9,7 +9,8 @@ ARGS="-a $2 -R https://repo-ci.voidlinux.org/current"
|
||||||
|
|
||||||
while read -r pkg; do
|
while read -r pkg; do
|
||||||
for subpkg in $(xsubpkg $pkg); do
|
for subpkg in $(xsubpkg $pkg); do
|
||||||
if xbps-query --repository=$HOME/hostdir/binpkgs \
|
if xbps-query --repository=$HOME/hostdir/binpkgs/bootstrap \
|
||||||
|
--repository=$HOME/hostdir/binpkgs \
|
||||||
--repository=$HOME/hostdir/binpkgs/nonfree \
|
--repository=$HOME/hostdir/binpkgs/nonfree \
|
||||||
-i "$subpkg" >&/dev/null; then
|
-i "$subpkg" >&/dev/null; then
|
||||||
/bin/echo -e "\x1b[34mFile Diff of $subpkg:\x1b[0m"
|
/bin/echo -e "\x1b[34mFile Diff of $subpkg:\x1b[0m"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue