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