def _get_pkglist(self): pkgs = comp.PkgInstallComponent._get_pkglist(self) # Walk through the subcomponents (like 'vol' and 'cpu') and add those # those packages as well. Let utils.get_pkglist handle any missing # entries LOG.debug("get_pkglist looking for extras: %s" % (self.component_opts)) if self.component_opts: sub_components = self.component_opts else: # No subcomponents where explicitly specified, so get all sub_components = APP_NAME_MAP.keys() # Add the extra dependencies for cname in sub_components: pkgs.update(utils.get_pkg_list(self.distro, cname)) return pkgs
def _get_pkglist(self): return utils.get_pkg_list(self.distro, self.component_name)
def post_install(self): pkgs = utils.get_pkg_list(self.distro, self.component_name) if pkgs: mp = self._get_param_map(None) self.packager.post_install(pkgs, mp) return self.tracedir