fix build issue

This commit is contained in:
iceBear67
2026-06-22 11:42:33 +08:00
parent 7c601769c0
commit 269734b313
5 changed files with 11 additions and 7 deletions

View File

@@ -11,6 +11,8 @@ CONFIGURE_SH="${SCRIPT_DIR}/configure.sh"
TMP=$(mktemp)
modprobe nbd max_parts=8 && [ -e /dev/nbd0 ] || mknod /dev/nbd0 b 43 0
cleanup() {
rm $TMP
}
@@ -29,7 +31,7 @@ alpine-make-vm-image \
--fs-skel-dir "$OVERLAY_DIR" \
--fs-skel-chown root:root \
--script-chroot \
--packages "git curl docker cronie" \
--packages "git curl docker cronie dhclient" \
"$IMAGE_FILE" \
"$CONFIGURE_SH" | tee $TMP