Hello,

I need to build Live CD from packages on: http://chevy86.japan:10006
I edited the manifest and looks like following:

<pkg_repo_default_authority>
                       <main
                               url="http://lepra.czech:10000";
                               authname="opensolaris.org"/>
                       <!--
                            If you want t<pkg_repo_default_authority>
                       <main
                               url="http://lepra.czech:10000";
                               authname="opensolaris.org"/>
                       <!--
If you want to use one or more mirrors that are
                            setup for the authority, specify the urls here.
                       -->
                       <!--
                            Uncomment before using
                       <mirror url="" />
                       -->
               </pkg_repo_default_authority>
               <!--
Any additional non-preferred authorities to pull packages
                    from should be specified here. Multiple additional
                    authorities may be specified.
                    If you want to use one or more  mirrors that are
                    setup for the authority, specify the urls here.
               -->
               <!--
                    Uncomment before using. -->
               <pkg_repo_addl_authority>
                       <main
                               url="http://chevy86.japan:10006";
                               authname=""/>
                       <mirror url="" />
               </pkg_repo_addl_authority>
               <!--
The default preferred authority to be used by the system
                    after it has been installed.
The default url is: http://pkg.opensolaris.org/release The default authname is opensolaris.org
                    If you want to use one or more  mirrors that are
                    setup for the authority, specify the urls here.
               -->
               <post_install_repo_default_authority>
                       <main
                               url="http://pkg.opensolaris.org/release";
                               authname="opensolaris.org"/>
                       <!--
                            Uncomment before using.
                       <mirror url="" />
                       -->
               </post_install_repo_default_authority>
               <!--
Any additional non-preferred authorities to use after the system has been installed. Multiple additional authorities
                    may be specified.
                    If you want to use one or more  mirrors that are
                    setup for the authority, specify the urls here.
               -->
               <!--
                    Uncomment before using.
               <post_install_repo_addl_authority>
                       <main
                               url=""
                               authname=""/>
                       <mirror url="" />
               </post_install_repo_addl_authority>
               -->
       </distro_constr_params>
       <img_params>
               <!--
Where to build. This can be a zfs dataset or a mountpoint. The area will be created if it doesn't exist. If the build_area is not a zfs dataset or mountpoint, checkpointing will not
                    be enabled.
               -->
               <build_area>rpool/dc/g11n_pokus5</build_area>
               <!--
                    list of packages used to form the installed image
               -->
               <packages>
                       <!--
                            Due to dependency issues, SUNWcsd and SUNWcs
                            must be listed first in the package list,
                            and SUNWcsd must precede SUNWcs
                       -->
                       <!--
                           By default the latest build available, in the
                           specified IPS repository, is installed.
If another build is required, the build number has to be appended to the 'entire' package in following
                           form:

                           <pkg_name="[email protected]#/>
                       -->
                       <pkg name="entire"/>
                       <pkg name="SUNWcsd"/>
                       <pkg name="SUNWcs"/>
                       <pkg name="babel_install"/>
                       <pkg name="SUNWslim-utils"/>
<pkg name="pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090402Z"/> <pkg name="pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090415Z"/>
               </packages>
<!--
o use one or more  mirrors that are
                            setup for the authority, specify the urls here.
                       -->
                       <!--
                            Uncomment before using
                       <mirror url="" />
                       -->
               </pkg_repo_default_authority>
               <!--
Any additional non-preferred authorities to pull packages
                    from should be specified here. Multiple additional
                    authorities may be specified.
                    If you want to use one or more  mirrors that are
                    setup for the authority, specify the urls here.
               -->
               <!--
                    Uncomment before using. -->
               <pkg_repo_addl_authority>
                       <main
                               url="http://chevy86.japan:10006";
                               authname=""/>
                       <mirror url="" />
               </pkg_repo_addl_authority>
               <!--
The default preferred authority to be used by the system
                    after it has been installed.
The default url is: http://pkg.opensolaris.org/release The default authname is opensolaris.org
                    If you want to use one or more  mirrors that are
                    setup for the authority, specify the urls here.
               -->
               <post_install_repo_default_authority>
                       <main
                               url="http://pkg.opensolaris.org/release";
                               authname="opensolaris.org"/>
                       <!--
                            Uncomment before using.
                       <mirror url="" />
                       -->
               </post_install_repo_default_authority>
               <!--
Any additional non-preferred authorities to use after the system has been installed. Multiple additional authorities
                    may be specified.
                    If you want to use one or more  mirrors that are
                    setup for the authority, specify the urls here.
               -->
               <!--
                    Uncomment before using.
               <post_install_repo_addl_authority>
                       <main
                               url=""
                               authname=""/>
                       <mirror url="" />
               </post_install_repo_addl_authority>
               -->
       </distro_constr_params>
       <img_params>
               <!--
Where to build. This can be a zfs dataset or a mountpoint. The area will be created if it doesn't exist. If the build_area is not a zfs dataset or mountpoint, checkpointing will not
                    be enabled.
               -->
               <build_area>rpool/dc/g11n_pokus5</build_area>
               <!--
                    list of packages used to form the installed image
               -->
               <packages>
                       <!--
                            Due to dependency issues, SUNWcsd and SUNWcs
                            must be listed first in the package list,
                            and SUNWcsd must precede SUNWcs
                       -->
                       <!--
                           By default the latest build available, in the
                           specified IPS repository, is installed.
If another build is required, the build number has to be appended to the 'entire' package in following
                           form:

                           <pkg_name="[email protected]#/>
                       -->
                       <pkg name="entire"/>
                       <pkg name="SUNWcsd"/>
                       <pkg name="SUNWcs"/>
                       <pkg name="babel_install"/>
                       <pkg name="SUNWslim-utils"/>
<pkg name="pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090402Z"/> <pkg name="pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090415Z"/>
               </packages>
<!--

I am using the nightly SUNWdistro-const.
But build failed.

sh-3.2# distro_const build all_lang_slim_cd_x86.xml
/usr/share/distro_const/DC-manifest.defval.xml validates
/tmp/all_lang_slim_cd_x86_temp_2289.xml validates
Simple Log: /rpool/dc/g11n_pokus2/logs/simple-log-2009-04-14-12-58-07
Detail Log: /rpool/dc/g11n_pokus2/logs/detail-log-2009-04-14-12-58-07
Build started Tue Apr 14 12:58:07 2009
Distribution name: OpenSolaris_b111-g11n
Build Area dataset: rpool/dc/g11n_pokus2
Build Area mount point: /rpool/dc/g11n_pokus2
==== im-pop: Populate the image with packages
Initializing the IPS package image area: /rpool/dc/g11n_pokus2/build_data/pkg_image
Setting preferred authority: opensolaris.org
       Origin repository: http://lepra.czech:10000
Verifying the contents of the IPS repository
pkg: no packages matching 'pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090402Z' known pkg: no packages matching 'pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090415Z' known
Unable to verify the contents of the specified IPS repository
Build completed Tue Apr 14 12:58:29 2009
Build failed.
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
sh-3.2#


I'm not sure why this command doesn't work:

# pkg -R /rpool/dc/g11n_pokus2/build_data/pkg_image install pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090415Z
Creating Plan -
pkg: The following pattern(s) did not match any packages in the current catalog.
Try relaxing the pattern, refreshing and/or examining the catalogs:
pkg://chevy86.japan:10006/[email protected],5.11-0.111:20090414T090415Z

sh-3.2#

Any idea?
Thank you.

Regards,

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

Reply via email to