From 18f2c305822cb5ff5ed9e0d87b86595ab87252ae Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 30 Jan 2020 23:51:53 +0000 Subject: [PATCH] Added stage4 --- {stage3 => stage4}/EXPORT_IMAGE | 0 {stage3 => stage4}/EXPORT_NOOBS | 0 stage4/prerun.sh | 5 +++++ 3 files changed, 5 insertions(+) rename {stage3 => stage4}/EXPORT_IMAGE (100%) rename {stage3 => stage4}/EXPORT_NOOBS (100%) create mode 100644 stage4/prerun.sh diff --git a/stage3/EXPORT_IMAGE b/stage4/EXPORT_IMAGE similarity index 100% rename from stage3/EXPORT_IMAGE rename to stage4/EXPORT_IMAGE diff --git a/stage3/EXPORT_NOOBS b/stage4/EXPORT_NOOBS similarity index 100% rename from stage3/EXPORT_NOOBS rename to stage4/EXPORT_NOOBS diff --git a/stage4/prerun.sh b/stage4/prerun.sh new file mode 100644 index 00000000..9acd13cb --- /dev/null +++ b/stage4/prerun.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +if [ ! -d "${ROOTFS_DIR}" ]; then + copy_previous +fi