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

This commit is contained in:
Pooya Parsa
2026-11-21 18:45:40 +00:00
parent fa255306ec
commit e69adda3ba

View File

@@ -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"