aboutsummaryrefslogtreecommitdiffstats
path: root/export-noobs/00-release
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-04-03 15:55:27 +0100
committerSerge Schneider <[email protected]>2017-04-03 16:19:20 +0100
commitfa1e67f92eb4e8a8a0c9d31a43803119853d8bef (patch)
tree1e75c4766b4b0ac29def1cec535cae8fd33ab918 /export-noobs/00-release
parent7360f24430a4f909124ca292b14b8969593b7ef7 (diff)
export-noobs: rename Raspbian.png to match NOOBS_NAME
Diffstat (limited to 'export-noobs/00-release')
-rwxr-xr-xexport-noobs/00-release/00-run.sh4
-rw-r--r--export-noobs/00-release/files/OS.png (renamed from export-noobs/00-release/files/Raspbian.png)bin1662 -> 1662 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/export-noobs/00-release/00-run.sh b/export-noobs/00-release/00-run.sh
index 446733d..e8717b4 100755
--- a/export-noobs/00-release/00-run.sh
+++ b/export-noobs/00-release/00-run.sh
@@ -5,7 +5,7 @@ NOOBS_DIR="${STAGE_WORK_DIR}/${IMG_DATE}-${IMG_NAME}${IMG_SUFFIX}"
install -v -m 744 files/partition_setup.sh ${NOOBS_DIR}/
install -v files/partitions.json ${NOOBS_DIR}/
install -v files/os.json ${NOOBS_DIR}/
-install -v files/Raspbian.png ${NOOBS_DIR}/
+install -v files/OS.png ${NOOBS_DIR}/
install -v files/release_notes.txt ${NOOBS_DIR}/
tar -v -c -C files/marketing -f ${NOOBS_DIR}/marketing.tar .
@@ -19,6 +19,8 @@ ROOT_SIZE=$(expr ${ROOT_SIZE} / 1000000 \+ 1)
BOOT_NOM=$(expr ${BOOT_SIZE} \* 3)
ROOT_NOM=$(expr ${ROOT_SIZE} \+ 400)
+mv "${NOOBS_DIR}/OS.png" "${NOOBS_DIR}/$(echo ${NOOBS_NAME} | sed 's/ /_/').png"
+
sed ${NOOBS_DIR}/partitions.json -i -e "s|BOOT_SIZE|${BOOT_SIZE}|"
sed ${NOOBS_DIR}/partitions.json -i -e "s|ROOT_SIZE|${ROOT_SIZE}|"
diff --git a/export-noobs/00-release/files/Raspbian.png b/export-noobs/00-release/files/OS.png
index 10ecc62..10ecc62 100644
--- a/export-noobs/00-release/files/Raspbian.png
+++ b/export-noobs/00-release/files/OS.png
Binary files differ