test: update cross-distro.sh to take repos from "images"

This commit updates the `cross-distro.sh` test to use the
`images`repository to get all the available image definitions.
This commit is contained in:
Michael Vogt 2025-02-05 10:38:50 +01:00 committed by Tomáš Hozza
parent 5906c554f6
commit 97e924b06c

View file

@ -103,13 +103,9 @@ else
echo "All installed distros are recognized by composer."
fi
# set path to all composer repositories
if [ ! -d "repositories/" ]; then
git clone --depth 1 http://github.com/osbuild/osbuild-composer
REPO_PATH="osbuild-composer/repositories/"
else
REPO_PATH="repositories/"
fi
# set path to all "images" repositories
git clone --depth 1 http://github.com/osbuild/images
REPO_PATH="images/data/repositories/"
# ALL_DISTROS - all possible distros from upstream repository
# ALL_EXPECTED_DISTROS - all distros matching host pattern