From bce5522d79378216443e16bcf527cddee84d1045073e5e3cdd4eb14e464e169b Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Tue, 14 May 2024 09:19:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/containment-tik-img-to-rpm?expand=0&rev=13 --- containment-tik-img-to-rpm | 21 +++++++++++++++------ containment-tik-img-to-rpm.spec | 15 +++++++++------ 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/containment-tik-img-to-rpm b/containment-tik-img-to-rpm index 3729f7a..68e9e73 100644 --- a/containment-tik-img-to-rpm +++ b/containment-tik-img-to-rpm @@ -14,14 +14,23 @@ log() { echo "[tik-img-to-rpm] $@" } -log "DEBUG: ls /" -ls / +log "DEBUG: ls /usr/src/packages" +ls /usr/src/packages -log "DEBUG: ls ." -ls . +log "DEBUG: ls /usr/src/packages/KIWI" +ls /usr/src/packages/KIWI -log "DEBUG: cat /.buildenv" -cat /.buildenv +log "DEBUG: ls /usr/src/packages/SOURCES" +ls /usr/src/packages/SOURCES + +log "DEBUG: ls /usr/src" +ls /usr/src + +log "DEBUG: ls /usr/lib/build" +ls /usr/lib/build + +log "DEBUG: ls /.build-srcdir" +ls /.build-srcdir log "Check for tik-osimage-*.raw.xz in KIWI output directory" diff --git a/containment-tik-img-to-rpm.spec b/containment-tik-img-to-rpm.spec index d4d3409..7e72a29 100644 --- a/containment-tik-img-to-rpm.spec +++ b/containment-tik-img-to-rpm.spec @@ -15,21 +15,23 @@ # 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: coreutils -Requires: gawk Requires: jq -Conflicts: containment-rpm +Requires: gawk +Requires: coreutils +Conflicts: containment-rpm + %description OBS Post check for containing tik-osimage-* images in RPM @@ -50,3 +52,4 @@ install -m 644 %{SOURCE1} %{buildroot}/usr/lib/build/ %{_prefix}/lib/build/image.spec.in %changelog +