[Piuparts-devel] Bug#466043: Bug#466043: piuparts: should have a hook to pre-process the chroot

Lars Wirzenius liw at iki.fi
Sat Feb 16 07:35:01 UTC 2008


On la, 2008-02-16 at 08:17 +0100, Marc Haber wrote:
> currently, it is not possible to do a piuparts upgrade test since
> tzdata does not upgrade cleanly. I'd therefore like to pin tzdata to
> stable inside the piuparts chroot.

It would be nice if such problems could be avoided by uploaders using
piuparts before uploading, especially uploaders of packages that are
crucial to the system...

> That would be much easier if it were possible to have piuparts copy a
> file (/etc/apt/preferences, of course) into the chroot before
> beginning the tests. This could be done by having hooks to have
> piuparts call at certain stages of the test.

As a workaround: it should be possible to do that by having piuparts
create a tarball with the chroot (-s), then unpacking, modifying stuff
as needed, and then re-packing the tarball, possibly to a new name.







More information about the Piuparts-devel mailing list