[oi-dev] [discuss] Re: hit problem when make iso image, is there anyone could help me?

Albert Lee trisk at nexenta.com
Tue Mar 5 23:13:38 UTC 2013


You need to use a full set of consolidations to build an image, not just
ON. And you need an updated 'entire' if you want to use your on-nightly
osnet incorporation in it.

Packaging questions should be directed to oi-dev.

-Albert

On Tue, Mar 5, 2013 at 8:40 AM, Put FreeBSD/TonyBSD to Work for Your
Business. <cs2tonyos at gmail.com> wrote:

> is there no people hit similar issue?
>
> Thanks
> Tony
>
>
> On Mon, Mar 4, 2013 at 7:34 AM, Put FreeBSD/TonyBSD to Work for Your
> Business. <cs2tonyos at gmail.com> wrote:
>
>> Hello everyone,
>>
>>
>> (sorry for any interruptions, I'm not sure if it is correct to send my
>> question to this mail list.)
>>
>>
>> now, I have built illumos from source and succeeded on Openindiana, I
>> want to make a ISO image to test the latest build.
>>
>> uname -a
>> SunOS solx 5.11 oi_151a7 i86pc i386 i86pc Solaris
>>
>>
>> the problem is that:  when I run following command, and get error, (I
>> need help to resolve the issues)
>>
>>
>> following is my screen dump, is there someone could help me  resolve it?
>>
>>
>> root at solx:~# /usr/bin/distro_const build /tmp/new_slim_cd_x86.xml
>>
>> /usr/share/distro_const/DC-
>> manifest.defval.xml validates
>> /tmp/new_slim_cd_x86_temp_22552.xml validates
>> Simple Log: /rpool/dc/logs/simple-log-2013-03-03-15-35-27
>> Detail Log: /rpool/dc/logs/detail-log-2013-03-03-15-35-27
>> Build started Sun Mar  3 15:35:27 2013
>> Distribution name: TEST-MARCH01
>> Build Area dataset: rpool/dc
>> Build Area mount point: /rpool/dc
>> ==== im-pop: Image area creation
>> Initializing the IPS package image area: /rpool/dc/build_data/pkg_image
>> Setting preferred publisher: on-nightly
>>         Origin repository: http://localhost:8152
>> Verifying the contents of the IPS repository
>> pkg list: no packages matching 'pkg:/system/install/gui-install,
>> pkg:/entire, pkg:/slim_install, pkg:/system/install/media/internal' allowed
>> by installed incorporations, or image variants that are known or installed
>> Use -af to allow all versions.
>> Traceback (most recent call last):
>>   File "/usr/share/distro_const/im_pop.py", line 515, in <module>
>>     "repository")
>> Exception: /usr/share/distro_const/im_pop.py: Unable to verify the
>> contents of the specified IPS repository
>> Child returned err 1
>> Build completed Sun Mar  3 15:35:30 2013
>> Build failed.
>> root at solx:~#
>>
>>
>> following is the lines I changed in new_slim_cd_x86.xml
>>
>>
>> <distribution name="TEST_MARCH01">
>>
>>  <pkg_repo_default_authority>
>>                         <main
>>                                 url="http://localhost:8152"
>>                                 authname="on-nightly"/>
>>
>>
>> the build software repository is :
>> /code/illumos-gate/packages/i386/nightly-nd/repo.redist
>>
>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>> pkgrepo info -s "http://localhost:8152"
>> PUBLISHER  PACKAGES STATUS           UPDATED
>> on-nightly 839      online           2013-03-03T00:25:24.013482Z
>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist# uname
>> -a
>> SunOS htsys 5.11 oi_151a7 i86pc i386 i86pc Solaris
>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>>
>>
>>
>> Thanks and best wishes
>>
>> Tony
>>
>> On Mon, Mar 4, 2013 at 12:28 AM, Put FreeBSD/TonyBSD to Work for Your
>> Business. <cs2tonyos at gmail.com> wrote:
>>
>>> Hello everyone,
>>>
>>> sorry for any interruptions, I'm not sure if it is correct to send my
>>> question to this mail list.
>>>
>>> now, I have built illumos from source and succeeded on Openindiana, I
>>> want to make a ISO image to test the latest build.
>>>
>>> uname -a
>>> SunOS solx 5.11 oi_151a7 i86pc i386 i86pc Solaris
>>>
>>>
>>> the problem is that:  when I run following command, and get error, (I
>>> need help to resolve the issues)
>>>
>>> root at solx:~# /usr/bin/distro_const build /tmp/new_slim_cd_x86.xml
>>>
>>> /usr/share/distro_const/DC-manifest.defval.xml validates
>>> /tmp/new_slim_cd_x86_temp_22552.xml validates
>>> Simple Log: /rpool/dc/logs/simple-log-2013-03-03-15-35-27
>>> Detail Log: /rpool/dc/logs/detail-log-2013-03-03-15-35-27
>>> Build started Sun Mar  3 15:35:27 2013
>>> Distribution name: TEST-MARCH01
>>> Build Area dataset: rpool/dc
>>> Build Area mount point: /rpool/dc
>>> ==== im-pop: Image area creation
>>> Initializing the IPS package image area: /rpool/dc/build_data/pkg_image
>>> Setting preferred publisher: on-nightly
>>>         Origin repository: http://localhost:8152
>>> Verifying the contents of the IPS repository
>>> pkg list: no packages matching 'pkg:/system/install/gui-install,
>>> pkg:/entire, pkg:/slim_install, pkg:/system/install/media/internal' allowed
>>> by installed incorporations, or image variants that are known or installed
>>> Use -af to allow all versions.
>>> Traceback (most recent call last):
>>>   File "/usr/share/distro_const/im_pop.py", line 515, in <module>
>>>     "repository")
>>> Exception: /usr/share/distro_const/im_pop.py: Unable to verify the
>>> contents of the specified IPS repository
>>> Child returned err 1
>>> Build completed Sun Mar  3 15:35:30 2013
>>> Build failed.
>>> root at solx:~#
>>>
>>>
>>> following is the lines I changed in new_slim_cd_x86.xml
>>>
>>>
>>> <distribution name="TEST_MARCH01">
>>>
>>>  <pkg_repo_default_authority>
>>>                         <main
>>>                                 url="http://localhost:8152"
>>>                                 authname="on-nightly"/>
>>>
>>>
>>> the build software repository is :
>>> /code/illumos-gate/packages/i386/nightly-nd/repo.redist
>>>
>>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>>> pkgrepo info -s "http://localhost:8152"
>>> PUBLISHER  PACKAGES STATUS           UPDATED
>>> on-nightly 839      online           2013-03-03T00:25:24.013482Z
>>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>>> uname -a
>>> SunOS htsys 5.11 oi_151a7 i86pc i386 i86pc Solaris
>>> root at solx:/code/illumos-gate/packages/i386/nightly-nd/repo.redist#
>>>
>>>
>>
>   *illumos-discuss* | Archives<https://www.listbox.com/member/archive/182180/=now>
> <https://www.listbox.com/member/archive/rss/182180/21175801-8cd47afa> |
> Modify<https://www.listbox.com/member/?member_id=21175801&id_secret=21175801-f1323306>Your Subscription
> <http://www.listbox.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20130305/609af091/attachment-0004.html>


More information about the oi-dev mailing list