From 8106244b42075a9a9e508ff2ebbf79c7737a4ff6 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 20 Aug 2021 11:58:33 +1200 Subject: [PATCH] add a little debugging output --- live-build/lb_binary_layered | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/live-build/lb_binary_layered b/live-build/lb_binary_layered index af029c05..5777741a 100755 --- a/live-build/lb_binary_layered +++ b/live-build/lb_binary_layered @@ -140,10 +140,13 @@ build_layered_squashfs () { create_squashfs "overlay.${pass}/" ${squashfs_f} if [ -f config/$pass.catalog-in.yaml ]; then - /usr/share/livecd-rootfs/update-source-catalog --output livecd.${PROJECT}.install-sources.yaml \ - --template config/$pass.catalog-in.yaml \ - --size $(du -B 1 -s chroot/ | cut -f1) --squashfs ${pass}.squashfs \ - --translations config/catalog-translations + echo "Expanding catalog entry template for $pass" + /usr/share/livecd-rootfs/update-source-catalog --output livecd.${PROJECT}.install-sources.yaml \ + --template config/$pass.catalog-in.yaml \ + --size $(du -B 1 -s chroot/ | cut -f1) --squashfs ${pass}.squashfs \ + --translations config/catalog-translations + else + echo "No catalog entry template for $pass" fi fi