1
0
forked from wrenn/wrenn

Explicit write when mounting rootfs for updates

This commit is contained in:
2026-04-13 02:38:09 +06:00
parent eb47e22496
commit 5633957b51
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ sudo mkfs.ext4 -F "${OUTPUT_FILE}"
# Step 4: Mount and populate.
echo "==> Mounting image at ${MOUNT_DIR}..."
mkdir -p "${MOUNT_DIR}"
sudo mount -o loop "${OUTPUT_FILE}" "${MOUNT_DIR}"
sudo mount -o loop,rw "${OUTPUT_FILE}" "${MOUNT_DIR}"
echo "==> Extracting container filesystem..."
sudo tar xf "${TAR_FILE}" -C "${MOUNT_DIR}"