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.

> 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

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

Reply via email to