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

Bug#627439: handling Ubuntu's multiple manifest scheme



retitle 627439 support for two-pass manifests
tag 627439 pending
thanks

On 06/10/2011 01:03 PM, Colin Watson wrote:
I've ended up with the attached patch for now.  How does this look?  As
discussed on IRC, I guess you'll want a different way to handle package
lists; I'm only using tasks and a couple of individual packages, so I'm
not really well-placed to judge how package lists might work here.

[...]
2011-06-09 17:12:09 < dba> for live-installer, it's dead simple.. we would just read in something like /cdrom/live/filesystem.remove or something
[...]
2011-06-09 17:22:50 < dba> so.. live-installer should support removing that stuff now (untested; therefore on daniel branch).
[...]
2011-06-09 17:28:21 < cjwatson> I have an instinctive dislike for listing the packages to remove rather than the packages to keep, although I'm not sure I can articulate why so perhaps that's bogus
2011-06-09 17:28:35 < cjwatson> may just be inertia
2011-06-09 17:30:13 < dba> specifying which to remove is more natural, and shorter.
2011-06-09 17:30:35 < dba> also, it's human readable.
2011-06-09 17:31:04 < dba> if listing only those to keep, i can't tell which packages are different between live and install just from looking at the list on the media.
[...]
2011-06-09 17:34:03 < dba> regarding live-build, how about this:
2011-06-09 17:34:48 < dba> if we have config/chroot_local-packagelists/*.{install,live}, then install the 'install' ones first, 2011-06-09 17:35:32 < dba> dump out a package list, then install the 'live' ones, dump out a package list. later diff the dumps in whatever way is suitable for debian/ubuntu.
[...]
2011-06-09 17:36:10 < dba> if we have no config/chroot_local-packagelists/*.{install,live} (just anything with *.list), then behave as normal (one pass). 2011-06-09 17:36:34 < dba> (where config/chroot_local-packagelists/*.{install,live} should be config/chroot_local-packagelists/*.list.{install,live}, but you get the idea) 2011-06-09 17:37:17 < dba> otoh, this only works based on the assumption that #install << #live


done and pushed what i said above in 238ae93.

--
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/



Reply to: