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']:
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']:
Disable extlinux installation and configure grub2 instead. grub2 will be added to
the list of packages to install. update-grub will be called once the debootstrap is
complete and grub-install will be called in the image.
+.IP \-\-no\-acpid
+Disable installation of acpid if not required, otherwise acpid will be
+installed if \-\-foreign is not used.
.IP \-\-pkglist
Output a list of package names installed inside the image. Useful if you
need to track the relevant source packages used inside the image for