summaryrefslogtreecommitdiff
path: root/make-boot-image.sh
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2020-07-04 22:40:47 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2020-07-04 22:40:47 +0200
commit1bc46e08861431a67d11310209dd8470ed1bd176 (patch)
treef679a022d2a4675dd30aa7f6727b930c5441372a /make-boot-image.sh
parentd94ee3f8c66236a16bc9d874e8fbfed1c601e7bb (diff)
downloadeficast-1bc46e08861431a67d11310209dd8470ed1bd176.tar.gz
eficast-1bc46e08861431a67d11310209dd8470ed1bd176.tar.bz2
eficast-1bc46e08861431a67d11310209dd8470ed1bd176.zip
Add NOBACKUP.TAG in workdir (for borgbackup or others)
Diffstat (limited to 'make-boot-image.sh')
-rwxr-xr-xmake-boot-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index 10fa14a..8ad8b64 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -118,7 +118,7 @@ fi
umask 0022 # Needed for embeding initrd without "sudo make" in kernel dir
-[ -d "$WORKDIR" ] || ( mkdir -p "$WORKDIR" && check_free_space $WORKDIR_MIN_AVAIL_MIO "$WORKDIR" )
+[ -d "$WORKDIR" ] || ( mkdir -p "$WORKDIR" && check_free_space $WORKDIR_MIN_AVAIL_MIO "$WORKDIR" && touch "$WORKDIR/NOBACKUP.TAG" )
[ -d "$DLDIR" ] || ( mkdir -p "$DLDIR" && check_free_space $DLDIR_MIN_AVAIL_MIO "$DLDIR" )
[ -d "$OUTDIR" ] || ( mkdir -p "$OUTDIR" && check_free_space $OUTDIR_MIN_AVAIL_MIO "$OUTDIR" )