diff options
author | Neil Williams <codehelp@debian.org> | 2015-12-19 15:05:53 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-12-19 15:05:53 +0000 |
commit | 017986eb02acea713e633a486dfeb308679035f6 (patch) | |
tree | 4a1e356432e561f35cea260b2ac7a16db1e8e152 /bin | |
parent | 95048ea4631d15756de8edaadbef728820d921c0 (diff) | |
download | vmdebootstrap-017986eb02acea713e633a486dfeb308679035f6.tar.gz |
Ensure no-kernel works.
Closes: #808358
Add package inclusion functions to the fast tests
and dry-run output.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/vmdebootstrap | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index 909c8eb..9555331 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -48,6 +48,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth self.remove_dirs = [] self.mount_points = [] self.bootdir = None + self.include = [] self.handlers = { Base.name: Base(), Uefi.name: Uefi(), @@ -215,8 +216,10 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth uefi = self.handlers[Uefi.name] oldstable = distro.was_oldstable(datetime.date(2015, 4, 26)) uefi.check_settings(oldstable=oldstable) + self.include = self._bootstrap_packages() if self.settings['dry-run']: + print "Selected packages: ", ', '.join(self.include) sys.exit(0) self.start_ops() if os.geteuid() != 0: |