export-image: Set /boot size to 256MB

This commit is contained in:
Serge Schneider
2019-06-07 15:51:06 +01:00
parent 22c8878f5d
commit 0308e92705
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ ROOT_SIZE="$(xz --robot -l "${NOOBS_DIR}/root.tar.xz" | grep totals | cut -f 5)
BOOT_SIZE="$(( BOOT_SIZE / 1024 / 1024 + 1))"
ROOT_SIZE="$(( ROOT_SIZE / 1024 / 1024 + 1))"
BOOT_NOM="$(( BOOT_SIZE * 3 ))"
BOOT_NOM="256"
ROOT_NOM="$(( ROOT_SIZE + 400 ))"
mv "${NOOBS_DIR}/OS.png" "${NOOBS_DIR}/${NOOBS_NAME// /_}.png"