test: update all calls to image-info

Call the script without a path since it's now in the PATH.

Drop the SELinux labelling workaround (chcon) from filesystem.sh and
image_tests.sh.  The packaged tool is already labelled correctly.

Install osbuild-tools instead of osbuild-composer-tests in
regression-old-worker-new-composer.sh to get osbuild-image-info.
This commit is contained in:
Achilleas Koutsou 2025-01-02 19:00:38 +01:00 committed by Tomáš Hozza
parent 58d16f662f
commit 083d84f70c
6 changed files with 8 additions and 17 deletions

View file

@ -209,7 +209,7 @@ function verifyDisk() {
greenprint "Verifying contents of ${filename}"
infofile="${filename}-info.json"
sudo /usr/libexec/osbuild-composer-test/image-info "${filename}" | tee "${infofile}" > /dev/null
sudo osbuild-image-info "${filename}" | tee "${infofile}" > /dev/null
# save image info to artifacts
cp -v "${infofile}" "${ARTIFACTS}/image-info.json"