[buildd-tools-devel] Bug#843694: sbuild: No way to pre-install extra-packages before build
Felipe Sateler
fsateler at debian.org
Tue Nov 8 19:39:18 UTC 2016
Package: sbuild
Version: 0.72.0-2
Severity: wishlist
Hi,
I have been trying to run some builds with a modified dpkg, but this
currently isn't working. sbuild appears to copy the debs to the chroot
after the initial apt-get update/upgrade, so it will not be
automatically upgraded.
--chroot-setup-commands= doesn't help because it is also run before
setting up the apt repository, and --starting-build-commands= is run as
non-root.
Upon further reading of the manpage, it is explicitly stated that
--extra-packages is only available for build-dependency resolution, and
that there is no --$something-command that will run as root but after
all chroot setup. It would be great to have such a command.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sbuild depends on:
ii adduser 3.115
ii apt-utils 1.3.1
ii libsbuild-perl 0.72.0-2
pn perl:any <none>
Versions of packages sbuild recommends:
ii debootstrap 1.0.86
Versions of packages sbuild suggests:
pn autopkgtest <none>
pn deborphan <none>
ii wget 1.18-4
-- Configuration Files:
/etc/sbuild/sbuild.conf changed [not included]
-- no debconf information
More information about the Buildd-tools-devel
mailing list