diff options
author | Serge Schneider <[email protected]> | 2021-01-08 19:23:47 +0000 |
---|---|---|
committer | Serge Schneider <[email protected]> | 2021-01-08 19:26:28 +0000 |
commit | 96982d119a4aff8516fbf248f66021c611a85356 (patch) | |
tree | ded3bf8a608739b6ff23c46cd3644e16df7fdbdb | |
parent | 69ee26fb34687bc0b03101af266a234988b71d84 (diff) |
Add 1.2 multiplier to nominal root partition size
-rwxr-xr-x | export-noobs/00-release/00-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/export-noobs/00-release/00-run.sh b/export-noobs/00-release/00-run.sh index c2a4a51..488098a 100755 --- a/export-noobs/00-release/00-run.sh +++ b/export-noobs/00-release/00-run.sh @@ -20,7 +20,7 @@ BOOT_SIZE="$(( BOOT_SIZE / 1024 / 1024 + 1))" ROOT_SIZE="$(( ROOT_SIZE / 1024 / 1024 + 1))" BOOT_NOM="256" -ROOT_NOM="$(( ROOT_SIZE + 400 ))" +ROOT_NOM="$(echo "$ROOT_SIZE" | awk '{printf "%.0f", (($1 + 400) * 1.2) + 0.5 }')" mv "${NOOBS_DIR}/OS.png" "${NOOBS_DIR}/${NOOBS_NAME// /_}.png" |