From df7fce0c97fb35a72e5a52e5984fa1c1dd0aa35a Mon Sep 17 00:00:00 2001 From: Sylirre Date: Thu, 9 Jan 2025 23:51:11 +0200 Subject: [PATCH] debug opensuse build --- distro-build/opensuse.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/distro-build/opensuse.sh b/distro-build/opensuse.sh index 98d82ab6e..e36204ade 100644 --- a/distro-build/opensuse.sh +++ b/distro-build/opensuse.sh @@ -26,12 +26,17 @@ bootstrap_distribution() { docker save --output "${WORKDIR}/opensuse-image-dump-${arch}.tar" \ "opensuse/tumbleweed@${digest}" + echo "Listing ${WORKDIR}:" + sudo ls "${WORKDIR}" + sudo rm -rf "${WORKDIR}/opensuse-tmp" "${WORKDIR}/opensuse-$(translate_arch "$arch")" mkdir "${WORKDIR}/opensuse-tmp" sudo mkdir -m 755 "${WORKDIR}/opensuse-$(translate_arch "$arch")" sudo tar -x --strip-components=1 \ -f "${WORKDIR}/opensuse-image-dump-${arch}.tar" \ -C "${WORKDIR}/opensuse-tmp" + echo "Listing ${WORKDIR}/opensuse-tmp:" + sudo ls "${WORKDIR}/opensuse-tmp" sudo tar -xpf "${WORKDIR}/opensuse-tmp"/layer.tar \ -C "${WORKDIR}/opensuse-$(translate_arch "$arch")" sudo rm -rf "${WORKDIR}/opensuse-tmp"