diff --git a/base-image-script/bootstrap-rootfs.sh b/base-image-script/bootstrap-rootfs.sh index fc0df92..840caef 100644 --- a/base-image-script/bootstrap-rootfs.sh +++ b/base-image-script/bootstrap-rootfs.sh @@ -42,7 +42,7 @@ echo "[INFO] Rootfs size:" du -sh "$ROOTFS_DIR" echo "[INFO] Creating compressed base image..." -mkdir -p "$OUTPUT_DIR" +mkdir -p "/$OUTPUT_DIR/$DEBIAN_RELEASE" tar -cjf "$TARBALL" -C "$ROOTFS_DIR" . ls -lh "$TARBALL"