From 1bc46e08861431a67d11310209dd8470ed1bd176 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 4 Jul 2020 22:40:47 +0200 Subject: Add NOBACKUP.TAG in workdir (for borgbackup or others) --- make-boot-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) -- cgit v1.2.3