[Piuparts-commits] [piuparts] 05/05: post_setup_forbid_home: adjust for basefiles now shipping /home/

Holger Levsen holger at moszumanska.debian.org
Tue Mar 15 18:27:13 UTC 2016


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

holger pushed a commit to branch develop
in repository piuparts.

commit 40ed7e7f916a915a4e102368a2f43fdb40399692
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Mar 12 15:03:15 2016 +0100

    post_setup_forbid_home: adjust for basefiles now shipping /home/
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/post_setup_forbid_home | 3 ++-
 debian/changelog                              | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/custom-scripts/scripts/post_setup_forbid_home b/custom-scripts/scripts/post_setup_forbid_home
index 54817c5..2c958ae 100755
--- a/custom-scripts/scripts/post_setup_forbid_home
+++ b/custom-scripts/scripts/post_setup_forbid_home
@@ -16,7 +16,8 @@ esac
 
 if [ -d /home ]; then
 	echo "Disabling /home"
-	mv /home /home.orig
+	mv /home /home.distrib
+	dpkg-divert /home
 	echo "This is a dummy file to prevent creating directories in /home" > /home
 	chmod 000 /home
 fi
diff --git a/debian/changelog b/debian/changelog
index 1be98a4..5b8aefb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ piuparts (0.71) UNRELEASED; urgency=medium
   * distros.conf: squeeze-* has been archived/removed.
   * piuparts-reports.py:
     - Skip section on HTTPError while downloading Packages.
+  * post_setup_forbid_home: Adjust for basefiles now shipping /home/
 
   [ Holger Levsen ]
 

-- 
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