diff --git a/kiwi_metainfo_helper b/kiwi_metainfo_helper index 95f1fc3..79be72e 100644 --- a/kiwi_metainfo_helper +++ b/kiwi_metainfo_helper @@ -16,8 +16,8 @@ if [ -e "${BUILD_DATA}" ]; then # The build script renames the recipe (to strip _service:foo:), but doesn't update .data RECIPEFILE="${RECIPEFILE##*:}" - if [ "${RECIPEFILE##*.}" != "kiwi" ] && [ "${RECIPEFILE}" != "Dockerfile" ] && [ "${RECIPEFILE}" != "Chart.yaml" ]; then - echo "Recipe is neither Dockerfile, kiwi recipe nor helm chart - exiting" + if [ "${RECIPEFILE##*.}" != "kiwi" ] && [[ ! "${RECIPEFILE}" =~ ^Dockerfile.* ]] && [ "${RECIPEFILE}" != "Chart.yaml" ]; then + echo "Recipe ${RECIPEFILE} is neither Dockerfile, kiwi recipe nor helm chart - exiting" exit 0 fi diff --git a/obs-service-kiwi_metainfo_helper.changes b/obs-service-kiwi_metainfo_helper.changes index ac4380e..f8c1a32 100644 --- a/obs-service-kiwi_metainfo_helper.changes +++ b/obs-service-kiwi_metainfo_helper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 7 08:35:33 UTC 2024 - Andrea Mazzotti + +- Support Docker.FLAVOR in _multibuild (boo#1226010) + ------------------------------------------------------------------- Thu Feb 1 15:54:12 UTC 2024 - Marina Latini diff --git a/test.sh b/test.sh index 14fd5c6..a88f7e1 100644 --- a/test.sh +++ b/test.sh @@ -85,6 +85,46 @@ DISTURL=obs://build.suse.de/SUSE:SLE-15-SP3:Update:CR/images/5f0a221b7877396cbf9 SOURCEURL=https://sources.suse.com/SUSE:SLE-15-SP3:Update:CR/sles15-image/5f0a221b7877396cbf977205e64690d2/ EOF +# Test _multibuild +cat >.data <Dockerfile.FLAVOR <.data <NotADockerfile <