[Piuparts-commits] [piuparts] 11/12: p: install fake essential packages without running custom scripts

Holger Levsen holger at layer-acht.org
Mon Mar 13 12:39: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 7f792b2eba11397cfce5b205ae026e422e9766c6
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Mar 12 04:23:15 2017 +0100

    p: install fake essential packages without running custom scripts
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog | 2 ++
 piuparts.py      | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c1867b6..e37e4e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ piuparts (0.77) UNRELEASED; urgency=medium
 
   * piuparts.py:
     - Refactor internal handling of reference chroot state.
+    - Do not run custom scripts before/after installing fake essential
+      packages.
   * piupartslib/packagesdb.py:
     - Add new state "outdated" to ignore packages if a dependency distro
       already has a newer version.  (Closes: #856846)
diff --git a/piuparts.py b/piuparts.py
index a97c1b1..e7dfbd5 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -803,7 +803,7 @@ class Chroot:
         # Run custom scripts after creating the chroot.
         self.run_scripts("post_setup")
 
-        self.install_packages_by_name(settings.fake_essential_packages)
+        self.install_packages_by_name(settings.fake_essential_packages, with_scripts=False)
 
         if settings.savetgz and not temp_tgz:
             self.pack_into_tgz(settings.savetgz)

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