commit: 92af7453a386fb5bd1b03ba5afae6d0165fe4364 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed Apr 15 18:00:15 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Wed Apr 15 18:04:03 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=92af7453
catalyst: Remove dead base_dirs() function Prior to commit 8ef6e85a57ec (catalyst: Drop BSD remnants) this was used for some FreeBSD-specific logic. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> catalyst/base/stagebase.py | 5 +---- catalyst/targets/stage1.py | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index b01e4825..d993641f 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -528,7 +528,7 @@ class StageBase(TargetBase, ClearBase, GenBase): """Set basic stage1, 2, 3 action sequences""" self.settings["action_sequence"] = ["unpack", "unpack_snapshot", "setup_confdir", "portage_overlay", - "base_dirs", "bind", "chroot_setup", "setup_environment", + "bind", "chroot_setup", "setup_environment", "run_local", "preclean", "unbind", "clean"] self.set_completion_action_sequences() @@ -940,9 +940,6 @@ class StageBase(TargetBase, ClearBase, GenBase): cmd(['rsync', '-a', x + '/', self.settings['chroot_path']], env=self.env) - def base_dirs(self): - pass - def bind(self): for x in self.mounts: log.debug('bind(); x = %s', x) diff --git a/catalyst/targets/stage1.py b/catalyst/targets/stage1.py index 4ce0d0b4..a1a29cff 100644 --- a/catalyst/targets/stage1.py +++ b/catalyst/targets/stage1.py @@ -77,9 +77,6 @@ class stage1(StageBase): "If you break it, you buy it. Don't complain to us about it.\n" "Don't say we did not warn you.") - def base_dirs(self): - pass - def set_mounts(self): # stage_path/proc probably doesn't exist yet, so create it ensure_dirs(self.settings["stage_path"]+"/proc")