From a8185e64ce95fb0edd2696922133e0d60079246b78ad0bf4771bebd5a46668b8 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Tue, 14 May 2024 08:55:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/containment-tik-img-to-rpm?expand=0&rev=12 --- containment-tik-img-to-rpm | 10 ++++++++++ containment-tik-img-to-rpm.spec | 15 ++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/containment-tik-img-to-rpm b/containment-tik-img-to-rpm index c4a3534..3729f7a 100644 --- a/containment-tik-img-to-rpm +++ b/containment-tik-img-to-rpm @@ -14,6 +14,16 @@ log() { echo "[tik-img-to-rpm] $@" } +log "DEBUG: ls /" +ls / + +log "DEBUG: ls ." +ls . + +log "DEBUG: cat /.buildenv" +cat /.buildenv + + log "Check for tik-osimage-*.raw.xz in KIWI output directory" if ! ls ${img_dir}/tik-osimage-*.raw.xz; then log "No tik-osimage found" && exit 0 diff --git a/containment-tik-img-to-rpm.spec b/containment-tik-img-to-rpm.spec index 7e72a29..d4d3409 100644 --- a/containment-tik-img-to-rpm.spec +++ b/containment-tik-img-to-rpm.spec @@ -15,23 +15,21 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# norootforbuild Name: containment-tik-img-to-rpm Version: 1.0 Release: 0 -Summary: OBS Post check for containing tik-osimage-* images in RPM +Summary: OBS Post check for containing tik-osimage-* images in RPM License: MIT Source: containment-tik-img-to-rpm -Source1: image.spec.in +Source1: image.spec.in BuildRequires: filesystem -BuildArch: noarch +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: jq -Requires: gawk Requires: coreutils -Conflicts: containment-rpm - +Requires: gawk +Requires: jq +Conflicts: containment-rpm %description OBS Post check for containing tik-osimage-* images in RPM @@ -52,4 +50,3 @@ install -m 644 %{SOURCE1} %{buildroot}/usr/lib/build/ %{_prefix}/lib/build/image.spec.in %changelog -