diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2025-05-06 14:20:09 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2025-05-06 14:20:09 +0100 |
| commit | 49e1078c1b07ff4948d304e0149d3bc698e0006a (patch) | |
| tree | 303b740d7aec0f92715e98f5908e71686a784028 /export-image/prerun.sh | |
| parent | b9e30f2e0e2557ae62bde141eb657f48a2c21dae (diff) | |
| parent | b9f63ee11b79aca73cde356babd2e1139a31c3c6 (diff) | |
Merge branch 'master' into arm64
Diffstat (limited to 'export-image/prerun.sh')
| -rwxr-xr-x | export-image/prerun.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/export-image/prerun.sh b/export-image/prerun.sh index 6a5309a..9f1b496 100755 --- a/export-image/prerun.sh +++ b/export-image/prerun.sh @@ -13,7 +13,7 @@ BOOT_SIZE="$((512 * 1024 * 1024))" ROOT_SIZE=$(du -x --apparent-size -s "${EXPORT_ROOTFS_DIR}" --exclude var/cache/apt/archives --exclude boot/firmware --block-size=1 | cut -f 1) # All partition sizes and starts will be aligned to this size -ALIGN="$((4 * 1024 * 1024))" +ALIGN="$((8 * 1024 * 1024))" # Add this much space to the calculated file size. This allows for # some overhead (since actual space usage is usually rounded up to the # filesystem block size) and gives some free space on the resulting |
