From c3b02dc0452442377880411add67f1361144e737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Tue, 30 May 2023 18:10:15 +0200 Subject: [PATCH] More random debug. --- live-build/auto/build | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/live-build/auto/build b/live-build/auto/build index 3870c865..f741f40e 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -1,5 +1,5 @@ #! /bin/sh -set -ex +set -x export LC_ALL=C @@ -89,8 +89,20 @@ PREFIX="livecd.$PROJECT${SUBARCH:+-$SUBARCH}" if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then # Use ubuntu-image instead of live-build - #export SNAPPY_STORE_NO_CDN=1 - #snap install --classic --channel=candidate ubuntu-image + export SNAPPY_STORE_NO_CDN=1 + snap install --classic --channel=edge ubuntu-image + + + ubuntu-image classic -w workdir $UBUNTU_IMAGE_ARGS --debug \ + -O output "$PREFIX".yaml + + ls workdir/ + cd workdir + chroot chroot snap download snapd + chroot chroot mount -t fuse.snapfuse -o ro,x-gdu.hide,x-gvfs-hide,allow_other snapd_19122.snap mnt/ + chroot chroot ls mnt/ + + echo "Now doing separate chroot tests" wget http://cdimage.ubuntu.com/ubuntu-base/daily/current/mantic-base-amd64.tar.gz mkdir base