From c51b35d3fe4be92c663682e0c1d2dfef7ecd8cfb Mon Sep 17 00:00:00 2001
From: Brian Dolbec <[email protected]>
Date: Fri, 10 Mar 2017 10:53:42 -0800
Subject: [PATCH 0/7] Latest pending branch fixes
To: [email protected]
This series of patches fixes several issues.
1) makes the handling of control-c better for cleanup.
2) Fixes an auto-resume problem and cleans up the logic a lot.
3) Fixes the make.conf bleed thruogh of host repo settings.
4) puts all the make.conf write logic into one place
5) Snapshots are now named according to the repo_name setting, so
configurable. 6) with the new defaults for repo, DISTDIR, PKGDIR I was
able to prove it can handle any directory settings. With these
settings, I was able to set the config to the
old /usr/portage, /usr/portage/distfiles... and everything worked as
expected. So, we just need to get council to decree the new
locations. No point in discussing it on the -dev list, they couldn't
come to a consensus. But there was enough to get some resonable values.
Brian Dolbec (7):
Move the signal handler into the StageBase class so it can handle
unbind() cleanup
base/stagebase.py: Rename unpack_portage resume point to unpack_repo
base/stagebase.py: Correctly log the correct function name for
unpack_snapshot()
base/stagebase.py: Seperate out the writing of the make.conf file
targets/snapshot.py: Update the code and log messages to use the
configured repo_name
defaults.py: Update all repository, DISTDIR, PKGDIR settings to new
/var paths
doc/make_subarch_table_guidexml.py: Fix shebang
bin/catalyst | 19 ----
catalyst/base/stagebase.py | 221
+++++++++++++++++++++----------------
catalyst/defaults.py | 24 ++--
catalyst/targets/snapshot.py | 13 ++-
doc/make_subarch_table_guidexml.py | 2 +-
etc/catalyst.conf | 2 + 6 files changed, 148
insertions(+), 133 deletions(-)
--
2.12.0
--
Brian Dolbec <dolsen>