From e69adda3bae71a33963d510cb8edbe1ff773164b Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 21 Nov 2026 18:45:40 +0000 Subject: [PATCH] guest: build a distro image without a warm set again (Alpine): the boot set alone goes first, instead of a cat of the missing warm list that stopped the build --- guest/lib/image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guest/lib/image.sh b/guest/lib/image.sh index aca7614..d64483d 100644 --- a/guest/lib/image.sh +++ b/guest/lib/image.sh @@ -214,7 +214,8 @@ distro_erofs() { fi fi if [ -s "$boot" ]; then - cat "$boot" "$warm" 2>/dev/null > "$out.first" + # No warm set (Alpine): the boot set alone. + { cat "$boot"; [ ! -f "$warm" ] || cat "$warm"; } > "$out.first" n=$(python3 -I "$guest/tools/mktree.py" --first "$out.first" "$tar" "$tar.tmp") rm -f "$out.first" mv "$tar.tmp" "$tar"