[elbe-devel] [PATCH 0/3] fix pbuilder usage of projectrepo

Manuel Traut manut at linutronix.de
Wed Apr 17 18:15:13 CEST 2019


Currently pbuilder isn't able to install build dependencies from the
projectrepo.

The projectrepo is completely ignored, because the key cannot be added
with apt-key add because there is a file with an invalid format in
/etc/apt/trusted.gpg.d/. This is adressed by patch 1.

The hook to add a repo to the chroot was changed to be executed after
debootstrap. But than at least "apt update" needs to run, before installling
the build-depends after entering the chroot. This enables building packages
that have build-depends to packages inside the projectrepo that were not in
the projectrepo at the time the pbuilder chroot was created. This is done
in patch 2.

Hooks need to be executable. Instead of making a single hook executable
make them all executable.

Manuel Traut (3):
  pbuilder: avoid specifying keyring on pbuilder create
  pbuilder: update repos after entering chroot
  hooks: chmod 755 on all hooks

 elbepack/elbeproject.py | 10 ++++------
 elbepack/pbuilder.py    |  3 +++
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.20.1




More information about the elbe-devel mailing list