[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Testing package installation, upgrading, and removal



On Tue, 21 Jun 2005, Junichi Uekawa wrote:

> Hi,
>
> > > I think this can not quite do it, since the chroot will need to be a
> > > woody chroot but get at least partially upgraded in each test to allow
> > > installation of the sarge and sid packages. It looks like piuparts is
> > > otherwise close to the tool I need.
> >
> > Create a lvm logical volume of a clean chroot. Make a snapshot of it,
> > mount proc, do the test, kill (and probably report) any residual
> > processes, umopunt proc, kill snapshot.
> >
> > Using lvm is the fastest way to do this. Alternatives are to copy or
> > untar a clean chroot for every test. But that needs more time.

Additionally use xen/uml to run the chroot; no pollution of host at all.



Reply to: