diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2020-07-04 22:40:47 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2020-07-04 22:40:47 +0200 |
commit | 1bc46e08861431a67d11310209dd8470ed1bd176 (patch) | |
tree | f679a022d2a4675dd30aa7f6727b930c5441372a | |
parent | d94ee3f8c66236a16bc9d874e8fbfed1c601e7bb (diff) | |
download | eficast-1bc46e08861431a67d11310209dd8470ed1bd176.tar.gz eficast-1bc46e08861431a67d11310209dd8470ed1bd176.tar.bz2 eficast-1bc46e08861431a67d11310209dd8470ed1bd176.zip |
Add NOBACKUP.TAG in workdir (for borgbackup or others)
-rwxr-xr-x | make-boot-image.sh | 2 |
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" ) |