Dnia 2013-09-04, o godz. 20:57:41 Gilles Dartiguelongue napisał(a): > One last point to handle, how to migrate gdk-pixbuf.cache so that it is > owned by the ebuild ? > > I've discussed this with Michał and it seems two options are possible. > > 1. rm the file on the filesystem in pkg_preinst in gdk-pixbuf ebuild > pros: > - works immediately without fiddling with profiles (see 2) Except when it doesn't ;). > cons: > - no idea what PMS says about it, Michał told me it shouldn't work yet > my testing proves otherwise. PMS doesn't cover collision-protect at all. It's purely portage feature, and at the time I played with twisted portage still complained before pkg_preinst(). > 2. use COLLISION_IGNORE in profiles/base/make.conf > pros: > - does not leave the system without the cache file > cons: > - add a setting to base/make.conf for a long period of time to ensure > most of our user have migrated (how long would it be btw, 6 months, 1 > year ?) > - does not protect other packages from owning the package due to this > very solution for the time the setting is left in base/make.conf That's where you convince Zac to accept my patch that applies COLLISION_IGNORE only to unowned files. -- Best regards, Michał Górny