[buildd-tools-devel] [PATCH] create-chroot: switch dpkg unsafe io on by default
Roger Leigh
rleigh at codelibre.net
Wed Jun 6 11:58:56 UTC 2012
On Wed, Jun 06, 2012 at 02:38:35PM +0300, Riku Voipio wrote:
> Since buildd chroots are temporary by nature, we don't need safe
> io while installing packages to the chroot. Especially for lvm
> and tarball chroots, where the install results will be scrapped
> after every build.
>
> A more fined version of this change would only apply this change
> the chroot when starting a build, but doing that seems overly
> complicated.
Thanks for the patch. We should probably implement this directly
in sbuild though--we already have a mechanism for setting these
which would be better placed than in the chroot creation script.
I see it also uses force confnew, but IIRC we use --force-confold
in sbuild (due to buildd requirements; I'd have preferred confnew).
If buildds are now using confnew, I'll fix sbuild to use it by
default.
BTW, more generically, one can now use "command-prefix=eatmydata"
and install eatmydata into the chroot.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Buildd-tools-devel
mailing list