[buildd-tools-devel] Bug#832050: sbuild: Allow to run commands as root before/after installing the build dependencies

Raphaël Hertzog hertzog at debian.org
Thu Jul 21 19:18:52 UTC 2016


Package: sbuild
Version: 0.69.0-2
Severity: wishlist

I have updated a library and in the process I renamed ftplib-dev into
libftp-dev (which provides "ftplib-dev") and I want to ensure that
reverse dependencies build correctly with the new package. I used
--extra-package to inject my package but the new package does not get
picked due to the new name... but if I could install the new package
before build dependencies are installed, then I could test my package.

So I want a new option like --pre-build-deps-commands="apt-get install libftp-dev"
Ideally I'm sure there are cases where we want to fix the set of packages
after having installed the build dependencies... so a --pre-build-commands
running as root would be nice too.

Cheers,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.115
ii  apt-utils       1.3~pre2
ii  libsbuild-perl  0.69.0-2
ii  perl            5.22.2-2

Versions of packages sbuild recommends:
ii  debootstrap  1.0.81
ii  fakeroot     1.21-1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.18-2

-- no debconf information



More information about the Buildd-tools-devel mailing list