[Piuparts-commits] [piuparts] 01/01: update-piuparts-(master|slave)-setup: touch $PIUPARTS_TMPDIR/.nobackup to exclude it from backups made by DSA.

Holger Levsen holger at layer-acht.org
Sun Mar 5 14:47:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 42b4e85ca0302e268e05e8d9cbb8f73aa9abc815
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Mar 5 15:47:39 2017 +0100

    update-piuparts-(master|slave)-setup: touch $PIUPARTS_TMPDIR/.nobackup to exclude it from backups made by DSA.
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog             | 2 ++
 update-piuparts-master-setup | 2 ++
 update-piuparts-slave-setup  | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 23b58cd..b2353a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,8 @@ piuparts (0.76) UNRELEASED; urgency=medium
     - Make "contribute" a link.
   * archive_old_logs: use xargs -P $NUM_CPU and -n 1 to compress old logs in
     parallel.
+  * update-piuparts-(master|slave)-setup: touch $PIUPARTS_TMPDIR/.nobackup to
+    exclude it from backups made by DSA.
 
   [ Michael Stapelberg ]
   * Add support for logging update-alternatives calls using optional
diff --git a/update-piuparts-master-setup b/update-piuparts-master-setup
index 47f91c0..766bb21 100755
--- a/update-piuparts-master-setup
+++ b/update-piuparts-master-setup
@@ -104,6 +104,8 @@ done
 # create working dir
 #
 mkdir -p $PIUPARTS_TMPDIR
+# tell DSA not to back it up
+touch PIUPARTS_TMPDIR/.nobackup
 
 #
 # update master home
diff --git a/update-piuparts-slave-setup b/update-piuparts-slave-setup
index 94661c3..d751878 100755
--- a/update-piuparts-slave-setup
+++ b/update-piuparts-slave-setup
@@ -101,6 +101,8 @@ if [ ! -d $PIUPARTS_TMPDIR ] && [ ! -L $PIUPARTS_TMPDIR ] ; then
 	echo "$PIUPARTS_TMPDIR is neither a directory nor link, please fix."
 	exit 1
 fi
+# tell DSA not to back it up
+touch PIUPARTS_TMPDIR/.nobackup
 
 #
 # update slave home

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list