From f69e0eb8a9ee4b050ca49d0cdf3c0cecbaf27c57 Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 22 Mar 2018 11:41:08 -0400 Subject: [PATCH] Default CLEAN to '1' The CLEAN processes really need to run anytime 'prerun.sh' is run, and that script is run every time. e.g. If CLEAN != 1, the quilt .pc dirs are not cleared, causing any patches to not be applied. --- README.md | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8a374e..e2731dd 100755 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ follows: * Run build.sh to build all stages * Add SKIP files to the earlier successfully built stages * Modify the last stage - * Rebuild just the last stage using ```sudo CLEAN=1 ./build.sh``` + * Rebuild just the last stage using ```sudo ./build.sh``` * Once you're happy with the image you can remove the SKIP_IMAGES files and export your image to test diff --git a/build.sh b/build.sh index f0597b7..32d203b 100755 --- a/build.sh +++ b/build.sh @@ -143,7 +143,7 @@ export LOG_FILE="${WORK_DIR}/build.log" export BASE_DIR -export CLEAN +export CLEAN=${CLEAN:-"1"} export IMG_NAME export APT_PROXY