[Bug 1307909] Re: EXTRAPACKAGES not installed

Rolf Leggewie 1307909 at bugs.launchpad.net
Tue Apr 15 09:11:53 UTC 2014


I'm using a D type hook target now to install EXTRAPACKAGES in the
meantime.  For anyone else who experiences this issue and would be
interested in the same fix, have a look into the pbuilder manpage under
--hookdir

$ cat ~/pbuilder/private-hooks/D95install_EXTRAPACKAGES 
#!/bin/bash
set -e
install_packages() {
    apt-get -y "${APTGETOPT[@]}" install "$@"
}
install_packages initscripts

You still need to make sure the hooks are actually called.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1307909

Title:
  EXTRAPACKAGES not installed

Status in “pbuilder” package in Ubuntu:
  New
Status in “ubuntu-dev-tools” package in Ubuntu:
  New

Bug description:
  man 5 pbuilderrc says

         EXTRAPACKAGES="ccache lintian XXX"
                Specifies  extra  packages which the system should install in the chroot on pbuilder create.  This is a space-delimited list. 
                Also this is installed on pbuilder build

  In reality EXTRAPACKAGES or not installed for the build target.  There
  are two ways to remedy the situation.  1) update the man page to
  reflect the true state of things. 2) change the behaviour of the
  pbuilder to be in line with the man page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1307909/+subscriptions



More information about the foundations-bugs mailing list