On Thursday September 1, at    2:57PM, Tim Foster wrote:

> On Thu, 2011-09-01 at 14:43 -0700, Chris Quenelle wrote:
>> Since I'm building packages that are not part of Solaris, they need
>> to be built against an older-than-latest version of S11.  But I'm hoping to 
>> avoid
>> 1) having dedicated build machines running a specific old build of S11 just
>> to generate IPS packages from our pre-built binaries.
> 
> You can't, easily - anything you compile on your current machine will
> link against libraries found there unless you jump through hoops in the
> pkg build and even then, this isn't something that's generally a good
> idea.

Did you read the part about "pre-built binaries"?
Pretty much all software that is not part of Solaris must support
Solaris 10 and Solaris 11.  So the binaries obviously can't be built
on Solaris 11.


> 
>> I also want to run pkglint on build N and lint my packages against an
>> older S11 build.  
> 
> use the -b flag, from the pkglint(1) man page:
> 
>     -b build_no       Specify a build number used to narrow  the
>                       list  of packages used during linting from
>                       lint and reference repositories. If no  -b
>                       option  is  specified, the latest versions
>                       of  packages  are  used.  See   also   the
>                       version.pattern configuration property.
> 
>       cheers,
>                       tim
> 


That's what I was looking for, I should have read more carefully.
Thanks!

--chris

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

Reply via email to