Remove post-bootstrap handling
Since we don't build RPMs on bootstrap any more, we can remove some code that was used to put them into common repos. Change-Id: Ifc6669045f861301aed42a75ae9d2a883a0f5fa2
This commit is contained in:
parent
646282b533
commit
b80d5e9336
1
.gitignore
vendored
1
.gitignore
vendored
@ -46,4 +46,3 @@ pidfile
|
||||
.DS_Store
|
||||
*.rc
|
||||
.anvil_bootstrapped
|
||||
.bootstrap
|
||||
|
@ -40,8 +40,6 @@ class PrepareAction(action.Action):
|
||||
self.root_dir,
|
||||
instances.values(),
|
||||
opts={"jobs": self.jobs})
|
||||
dependency_handler.post_bootstrap()
|
||||
|
||||
removals = []
|
||||
self._run_phase(
|
||||
action.PhaseFunctors(
|
||||
|
@ -140,9 +140,6 @@ class DependencyHandler(object):
|
||||
def package_finish(self):
|
||||
pass
|
||||
|
||||
def post_bootstrap(self):
|
||||
pass
|
||||
|
||||
def build_binary(self):
|
||||
pass
|
||||
|
||||
|
@ -154,15 +154,6 @@ class YumDependencyHandler(base.DependencyHandler):
|
||||
continue
|
||||
sh.move(filename, target_dir, force=True)
|
||||
|
||||
def post_bootstrap(self):
|
||||
bs_rpmbuild_dir = sh.joinpths('.bootstrap', 'rpmbuild')
|
||||
if sh.isdir(bs_rpmbuild_dir):
|
||||
LOG.info("Moving RPMS build on bootstrap to deps repo")
|
||||
self._move_srpms("anvil-deps", bs_rpmbuild_dir)
|
||||
self._move_rpm_files(bs_rpmbuild_dir,
|
||||
sh.joinpths(self.anvil_repo_dir, 'anvil-deps'))
|
||||
sh.deldir(bs_rpmbuild_dir)
|
||||
|
||||
def build_binary(self):
|
||||
def is_src_rpm(path):
|
||||
if not path:
|
||||
|
Loading…
Reference in New Issue
Block a user