On 17/11/10 04:40 PM, Colin Yi wrote:
r...@sollabs:~# pkg info --license -r pkg://solaris/driver/storage/cpqary3
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
but from driver-storage-cpqary3.mf, there should have OSBL license info.
license cr_Sun license=cr_Sun
license lic_OSBL license=lic_OSBL
Why pkg info --license can't get the OSBL license info?
That is an excellent question.
#pkg5 denizens, can you answer Colin's question please?
thankyou,
James
On 11/17/10 11:15, James C. McPherson wrote:
On 17/11/10 01:07 PM, Colin Yi wrote:
James,
How to know the license information of a package?
pkginfo doesn't work.
r...@sollabs:~# pkginfo -l CPQary3
PKGINST: CPQary3
NAME: HP Smart Array HBA Driver 2.2.0.1
CATEGORY: system
ARCH: i386
VERSION: 11.11,REV=2009.11.11
BASEDIR: /
VENDOR: Oracle Corporation
DESC: HP Smart Array HBA Driver 2.2.0.1
INSTDATE: Nov 16 2010 10:55
HOTLINE: Please contact your local service provider
STATUS: completely installed
Hi Colin,
is that in an onnv system? If so, I advise using the "pkg"
command, rather than "pkginfo" ::
$ pkg info -r pkg://solaris/driver/storage/cpqary3
Name: driver/storage/cpqary3
Summary: HP Smart Array HBA Driver 2.2.0.1
Description: HP Smart Array HBA Driver 2.2.0.1
Category: Drivers/Storage
State: Not installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.151.0.1
Packaging Date: 4 November 2010 11:28:42 PM
Size: 171.65 kB
FMRI:
pkg://solaris/driver/storage/[email protected],5.11-0.151.0.1:20101104T232842Z
$ pkg info --license -r pkg://solaris/driver/storage/cpqary3
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
You can also check this by looking at the source in the package
manifest file:
/ws/onnv-gate/usr/src/pkg/manifests/driver-storage-cpqary3.mf
hth,
James
--
Oracle
http://www.jmcp.homeunix.com/blog
--
James C. McPherson
--
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss