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

Johannes Schauer josch at debian.org
Fri Jul 22 09:06:56 UTC 2016


Hi,

Quoting Raphaël Hertzog (2016-07-21 21:18:52)
> 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.

How about:

	sbuild --add-depends libftp-dev=VERSION

> 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.

Why does --chroot-setup-commands not work in your case?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160722/f100a017/attachment.sig>


More information about the Buildd-tools-devel mailing list