Hi Nishchaya.

Check out:
http://wikis.sun.com/display/OSOLInstall/Customizing+Images#CustomizingImages-finalizerexample

which has an example of a finalizer script to add an SVR4 package to a 
live CD image being built.

    Thanks,
    Jack

On 02/11/09 05:56, Nishchaya Bahuguna wrote:
> Thank you for the reply.
> I would follow these steps and get back in case of more queries :-)
>
> Many thanks,
> Nishchaya
>
> jan damborsky wrote:
>> Hi Nishchaya,
>>
>>
>> Nishchaya Bahuguna wrote:
>>> Hello experts,
>>>
>>> I have few of the custom packages that were generated after the 
>>> nightly build of nevada.
>>> I want to use Distro constructor to create my own live CD with few 
>>> of these customized packages.
>>>
>>> Open Solaris being IPS based, what is the best way of integrating 
>>> these custom packages?
>>
>> There are several ways to accomplish this, the one you could use
>> takes advantage of the fact, that you can specify more than one
>> IPS repository in DC manifest (pkg_repo_addl_authority tag).
>>
>> I assume that the packages you would like to have on LiveCD
>> are in SVR4 format - then you could publish them in your
>> local temporary IPS repo in easy way. Something like
>>
>> [1] From one terminal window, run your local IPS repo on
>>    the same machine you would like to use for building the image
>>
>> # mkdir /tmp/ips_repo
>> # /usr/lib/pkg.depotd -d /tmp/ips_repo -p 10000
>>
>> [2] From another terminal window, publish your SVR4 packages in this 
>> repo.
>> For each package (they will be published on localhost:10000 by default):
>>
>> # eval `pkgsend open <package_name at version>`
>> # pkgsend import <path_to_package>/<package_name>
>> # pkgsend close
>>
>> '@version' suffix is mandatory at time of being. For example:
>>
>> # eval `pkgsend open SUNWmypackage at 0.1`
>> # pkgsend import /tmp/nightly-nd/SUNWinstall
>> # pkgsend close
>> PUBLISHED
>> pkg:/SUNWmypackage at 0.1,5.11:20090211T135738Z
>>
>> [3] Modify your DC manifest
>> * add IPS package names to the list of packages (e.g. after 
>> slim_install)
>> * Point <pkg_repo_addl_authority> to http://locahost:10000
>>
>> [4] Kick off DC build
>>
>>
>> Hope, this might help.
>> Please feel free to ask, if you have any questions.
>>
>> Cheers,
>> Jan
>>
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to