def run_directory_bootstrap(self, architecture, bootloader_approach): self._messenger.info('Bootstrapping %s into "%s"...' % (self.DISTRO_NAME_SHORT, self._abs_mountpoint)) bootstrap = GentooBootstrapper( self._messenger, self._executor, self._abs_mountpoint, self._abs_cache_dir, architecture, self._mirror_url, self._max_age_days, self._stage3_date_triple_or_none, self._repository_date_triple_or_none, self._abs_resolv_conf, ) bootstrap.run()
def add_parser_to(clazz, distros): gentoo = distros.add_parser(clazz.DISTRO_KEY, help=clazz.DISTRO_NAME_LONG) gentoo.set_defaults(**{DISTRO_CLASS_FIELD: clazz}) GentooBootstrapper.add_arguments_to(gentoo)
def get_commands_to_check_for(self): return GentooBootstrapper.get_commands_to_check_for() + [ COMMAND_CHROOT, COMMAND_FIND, COMMAND_WGET, ]
def get_commands_to_check_for(self): return GentooBootstrapper.get_commands_to_check_for() + [COMMAND_CHROOT, COMMAND_FIND, COMMAND_WGET]