Kyle McDonald wrote: > Hi, > > I've read the various man pages (including pkg(5) - which doesn't > mention facets at all?) and I can't seem to figure out what facets I > might be able to select or deselect to filter files in a package.
I've filed two open bugs against that: 15667 pkg(5) has no information about facets or variants https://defect.opensolaris.org/bz/show_bug.cgi?id=15667 16496 pkg facet should also display implicitly set facets https://defect.opensolaris.org/bz/show_bug.cgi?id=16496 > I remember back when IPS was first starting up, the idea of no splitting > certian types (say man pages) of a package into separate packages any > more and instead allowing the administrator to filter the parts of a > package as it's being installed. For example an admin might want to tell > pkg that he doesn't want any manpages. > > Are facets intended to be used for this filtering functionality? > Are they implemented yet? Yes, and partially - the facets code is in the packaging system, but most packages have not yet had the facets metadata added so that you can use it. I added the facets metadata to the X packages in build 144, so if you had X packages from that build you could disable the devel facet to make the headers disappear or disable the doc.* facet to make the man pages disappear. > Personally, I'd like to see files in a package able to be filtered by locale. I believe the g11n team is working on that. > This works great when the locales are all in different packages, but I've > found smaller packages (like bash) that have all their locale files in the > single package. If that package was created natively in IPS (right now, ON, X, Install & IPS itself are), then you could file a bug with the consolidation to add the facet tag to those files. For those that are still being converted from SVR4 packages (including SFW packages like bash, and JDS), I don't think distro-import provides for facet tagging at this time. -- -Alan Coopersmith- [email protected] Oracle Solaris Platform Engineering: X Window System _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
