From d3548540e75d0d60d46fa3930b7f1a9841d9258f Mon Sep 17 00:00:00 2001 From: phanes Date: Sun, 2 Apr 2023 02:38:20 -0400 Subject: [PATCH] minor backup cleanup for mods --- Makefile | 4 ++-- rex.project/x86_64/components/backup/offer_backup.bash | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 6e987ab..894bc15 100644 --- a/Makefile +++ b/Makefile @@ -125,9 +125,9 @@ all: make build_stage1 && \ make build_stage2 && \ make build_stage3 && \ - make backup && \ make build_stage4 && \ - make build_stage5 + make build_stage5 && \ + make backup && \ # Remember, before you make clean or make purge_artifacts you MUST run diff --git a/rex.project/x86_64/components/backup/offer_backup.bash b/rex.project/x86_64/components/backup/offer_backup.bash index f8d9ef4..af1946a 100755 --- a/rex.project/x86_64/components/backup/offer_backup.bash +++ b/rex.project/x86_64/components/backup/offer_backup.bash @@ -72,14 +72,13 @@ function perform_backup() { read -r -d '' msg <<-'EOF' -This is a great stopping point for backing up the stage if you're -debugging. The following prompt will ask if you'd like to back up the -existing sysroot, in case you need to start from stage 4 again for -whatever reason, such as a build failure. +The following prompt will ask if you'd like to back up the +existing sysroot. This is useful for debugging, so that you don't have +to wait for the entire cross-compilation for every change. If you select yes, you will see a gzipped tarball containing the sysroot generated in your project root. If you select no, your backup -will not be created, and you'll move on to stage 4. +will not be created. If you skip the backup and something fails from here, you'll need to run "make clean" and start from the beginning.