summaryrefslogtreecommitdiff
path: root/vmdebootstrap
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2015-06-28 12:03:02 +0100
committerNeil Williams <codehelp@debian.org>2015-06-28 12:03:02 +0100
commit9497e6223cdf59eab22ee5b43b61aa9c91a93cda (patch)
tree9fe12bcafdaeaf464df1376dff3801ef0250886c /vmdebootstrap
parent9904951b643e62d6c36d60132e0e0f56858986d0 (diff)
downloadvmdebootstrap-9497e6223cdf59eab22ee5b43b61aa9c91a93cda.tar.gz
Let acpid be omitted
Debian Bug: #784638
Diffstat (limited to 'vmdebootstrap')
-rwxr-xr-xvmdebootstrap6
1 files changed, 5 insertions, 1 deletions
diff --git a/vmdebootstrap b/vmdebootstrap
index add3d44..bc5b887 100755
--- a/vmdebootstrap
+++ b/vmdebootstrap
@@ -184,6 +184,10 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
self.settings.boolean(
['pkglist'],
'Create a list of package names included in the image.')
+ self.settings.boolean(
+ ['no-acpid'],
+ 'do not install the acpid package',
+ default=False)
def process_args(self, args): # pylint: disable=too-many-branches,too-many-statements
if not self.settings['image'] and not self.settings['tarball']:
@@ -448,7 +452,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
include = self.settings['package']
- if not self.settings['foreign']:
+ if not self.settings['foreign'] and not self.settings['no-acpid']:
include.append('acpid')
if self.settings['grub']: