common/travis/check-install: remove bootstrap repos for workaround

xbps chooses cross-vpkg-dummy over musl1.1 because it's looking for a
virtual package, musl.

fixes: #55528
This commit is contained in:
classabbyamp 2025-05-30 10:44:55 -04:00
parent 9c8d615cf1
commit 0369ba6769
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -27,6 +27,13 @@ ADDREPO="--repository=hostdir/binpkgs/bootstrap
--repository=hostdir/binpkgs/nonfree"
ROOTDIR="-r /check-install"
# HACK: remove remote bootstrap repo from consideration
# if the libc package is virtual (like musl1.1), xbps
# can choose the one provided by cross-vpkg-dummy instead
# of the actual package
# this is fine to do here because it runs last in CI
sed -i -e '/bootstrap/d' "${CONFDIR#-C }"/*remote*.conf
# if this fails, there were no packages built for this arch and thus no repodatas
xbps-install $ROOTDIR $ADDREPO $CONFDIR -S || exit 0