From 7360f24430a4f909124ca292b14b8969593b7ef7 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Thu, 30 Mar 2017 17:52:32 +0100 Subject: [PATCH] Add a 4GB image --- stage4/00-install-packages/00-debconf | 2 -- stage4/00-install-packages/00-packages | 1 - stage4/EXPORT_IMAGE | 2 +- stage5/00-install-mathematica/00-debconf | 2 ++ stage5/00-install-mathematica/00-packages | 1 + stage5/EXPORT_IMAGE | 1 + {stage4 => stage5}/EXPORT_NOOBS | 0 stage5/prerun.sh | 4 ++++ 8 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 stage5/00-install-mathematica/00-debconf create mode 100644 stage5/00-install-mathematica/00-packages create mode 100644 stage5/EXPORT_IMAGE rename {stage4 => stage5}/EXPORT_NOOBS (100%) create mode 100755 stage5/prerun.sh diff --git a/stage4/00-install-packages/00-debconf b/stage4/00-install-packages/00-debconf index 9b65dda..87932e2 100644 --- a/stage4/00-install-packages/00-debconf +++ b/stage4/00-install-packages/00-debconf @@ -1,4 +1,2 @@ # Enable realtime process priority? jackd2 jackd/tweak_rt_limits boolean true -# Do you accept the Wolfram - Raspberry Pi® Bundle License Agreement? -wolfram-engine shared/accepted-wolfram-eula boolean true diff --git a/stage4/00-install-packages/00-packages b/stage4/00-install-packages/00-packages index c3783b4..80625b6 100644 --- a/stage4/00-install-packages/00-packages +++ b/stage4/00-install-packages/00-packages @@ -7,7 +7,6 @@ python3-pgzero python-serial python3-serial python-picamera python3-picamera debian-reference-en dillo x2x -wolfram-engine raspberrypi-net-mods raspberrypi-ui-mods smartsim penguinspuzzle python-pip python3-pip diff --git a/stage4/EXPORT_IMAGE b/stage4/EXPORT_IMAGE index 2b0f09d..ee20363 100644 --- a/stage4/EXPORT_IMAGE +++ b/stage4/EXPORT_IMAGE @@ -1 +1 @@ -IMG_SUFFIX="" +IMG_SUFFIX="-4GB" diff --git a/stage5/00-install-mathematica/00-debconf b/stage5/00-install-mathematica/00-debconf new file mode 100644 index 0000000..d9743fe --- /dev/null +++ b/stage5/00-install-mathematica/00-debconf @@ -0,0 +1,2 @@ +# Do you accept the Wolfram - Raspberry Pi® Bundle License Agreement? +wolfram-engine shared/accepted-wolfram-eula boolean true diff --git a/stage5/00-install-mathematica/00-packages b/stage5/00-install-mathematica/00-packages new file mode 100644 index 0000000..fa9ba94 --- /dev/null +++ b/stage5/00-install-mathematica/00-packages @@ -0,0 +1 @@ +wolfram-engine diff --git a/stage5/EXPORT_IMAGE b/stage5/EXPORT_IMAGE new file mode 100644 index 0000000..2b0f09d --- /dev/null +++ b/stage5/EXPORT_IMAGE @@ -0,0 +1 @@ +IMG_SUFFIX="" diff --git a/stage4/EXPORT_NOOBS b/stage5/EXPORT_NOOBS similarity index 100% rename from stage4/EXPORT_NOOBS rename to stage5/EXPORT_NOOBS diff --git a/stage5/prerun.sh b/stage5/prerun.sh new file mode 100755 index 0000000..a5ea5f4 --- /dev/null +++ b/stage5/prerun.sh @@ -0,0 +1,4 @@ +#!/bin/bash -e +if [ ! -d ${ROOTFS_DIR} ]; then + copy_previous +fi