On 10/11/10 11:11 AM, Alok Aggarwal wrote:
On Mon, 11 Oct 2010, Kevin wrote:
Matt Keenan was kind enough to describe his procedure for adding new
packages
http://blogs.sun.com/mattman/entry/iso_creation_with_distro_constructor
I followed this guide and tried to create a osol 148 image for sparc
platform, but
hit a few problems.
1. If I tried to create an AI sparc image with version osol 148, what
OS version should I adopt for the build server? because I sometimes
found the pkg command
version is conflict with exception
'pkg.client.api_errors.VersionException', so
I manually changed CLIENT_API_VERSION in /usr/bin/pkg, but I know this is
not a better way.
Ideally your build machine should match the version of the
image you're creating. So, if you're trying to create a
build 148 image, you'd want your build machine to be running
148.
I might add that the API versions are set for a very good reason -- if
an incompatible change in the API occurs. As such, there's no guarantee
that the installer will work as expected by changing the version in this
way. I'd strongly recommend against this hackery.
-Shawn
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss