Re: piuparts output format: a proposal
On Fri, Jul 24 2009, Lars Wirzenius wrote:
> pe, 2009-07-24 kello 10:44 -0500, Manoj Srivastava kirjoitti:
>> On Fri, Jul 24 2009, Lars Wirzenius wrote:
>> > * Failed tests may _optionally_ also write dumps of the virtual
>> > environment (chroot, eventually maybe kvm images) so things may
>> > be debugged.
>> This is somewhat off topic, but is there a way to run piuparts
>> in a kvm instance? I already run my builds in a minimal virtual
>> machine, so it is OK for piuparts to install/remove/purge the package
>> in question. It would be nice to be able to tell piuparts not to bother
>> creating it's own chroot, but to assume it is running already in the
>> minimal test env.
> piuparts runs outside the virtual environment, so re-using an existing
> kvm instance is not really an option. However, KVM support does need to
> happen some day.
OK, I accept that. However, allow me to make a last effort to
show the validity of my use case: I do my builds in a minimal virtual
machine using a copy-on-write schema; so each build process starts from
a minimal known good state.
I ssh into this virtual machine, and have a script that satisfies
the build depends, and builds the package. I can easily add a code to
remove these packages when done building.
After building, in the same virtual machine, I would like to run
something like this:
a) record files currently on the machine.
b) install package and dependencies on current machine
c) Remove package
d) purge package
e) compare to list in a
Now, I know puiparts does all this -- I just don't want the
create a chroot steps of puiparts.
I, for one, would appreciate it if I can get a stripped down
puiparts component that assumes the building of the chrrot has been
done, and just does what puiparts normally does after the chroot has
been put into place.
Oh, thanks for puiparts
A baby is God's opinion that the world should go on. Carl Sandburg
Manoj Srivastava <email@example.com> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C