mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-05 16:19:36 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user