Shawn Walker wrote:
Dave Miner wrote:
Shawn Walker wrote:
Some changes to the license action are needed to implement the following RFEs:

  5586 licenseinfo api needs to expose license action attributes
  5732 packagemanager should have support for click-thru license
  5943 'must_accept' attribute desired for license actions

This proposal is based on sch's proposal and the resulting discussions [1].


Something that I didn't think to ask about when this was discussed initially, but might as well bring up now, is whether there's a requirement to carry this through to something like the live CD installer. While we currently confine OpenSolaris the distro to only redistributable packages without any of the click-through licenses, I fully expect extrusions to be built for which that will not be true, but which may want to leverage the installer. It seems we would need the ability for the installer to detect that the image which it's intending to copy has license acceptance-required packages. One possibility is that we just aggregate this information during construction into the installer metadata that we create for the ISO, another might be to be able to query pkg whether any of the packages in the image had such licenses. My first thought is that the aggregation via DC might be preferable, but I'm not entirely convinced yet.

It would be fairly easy for consumers of the pkg api or client to get the list of packages that require license acceptance and if so desired, the license text.

The new package search backend (as of build 110) would let you get a list of packages that require an acceptance of license with something like this (I think):

pkg search -p :license:must_accept:true
In theory that would work. The key would be to make sure that the license action generate index function gets updated if needed to produce that output.
Brock

The license text could be retrieved with:

pkg info --license SUNWfoo

A client api function could be added to make this easier for api consumers, but I'm not certain whether the cli case should have a special command to deal with this or not.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to