Jeffrey Huang wrote:
> Hi,
>
> ? 2009/6/18 6:14, Karen Tung ??:
>> Evan Layton wrote:
>>> Ceri Davies wrote:
>>>> The next step after an initial install was completed successfully is:
>>>> packages.
>>>>
>>>> We have some project specific packages we need. As oppose to manually
>>>> copying these I was wondering how easy it would be to put this stuff
> Yes, it is very easy, after setup your own package server and put your 
> specific package there, for example,  add following to manifest:
>
>            <ai_pkg_repo_addl_authority>
>                         <main url="http://129.156.229.127:3001"; 
> authname="STEP"/>
>                                 <mirror url=""/>
>            </ai_pkg_repo_addl_authority>
>             <ai_packages>
>                     <package_name>STEPcrl</package_name>
>             </ai_packages>
>
> Then the specific STEPcrl got installed with AI.

Just to clarify, list of packages has to contain all packages to be 
installed.
Also, manifest format was slightly changed in 2009.06 release comparing to
previous release. In this case it might look like

...
        <ai_pkg_repo_default_authority>
            <main url="<URL_of_main_IPS_repo>" authname="opensolaris.org"/>
            <mirror url=""/>
        </ai_pkg_repo_default_authority>
        <ai_pkg_repo_addl_authority>
           <main url="<URL_of_custom_IPS_repo" 
authname="custom-repository"/>
           <mirror url=""/>
        </ai_pkg_repo_addl_authority>
        <ai_install_packages>
            <!--
                Due to dependency issues, entire must be listed first
                in the package list, followed by SUNWcsd, and then SUNWcs.
                Any additional packages must be listed after SUNWcs.
            -->
            <pkg name="entire"/>
            <pkg name="SUNWcsd"/>
            <pkg name="SUNWcs"/>
            <pkg name="babel_install"/>
            <pkg name="custom_package1"/>
            <pkg name="custom_package2"/>
        </ai_install_packages>
        <ai_uninstall_packages>
            <pkg name="babel_install"/>
            <pkg name="slim_install"/>
        </ai_uninstall_packages>.
...

Thank you,
Jan


Reply via email to