Hi all,

Back about build #122, I was given the following set of instructions for
creating a Live CD image from a repository:

    1. pfexec pkg install SUNWdistro-const

    2. pfexec cp 
/usr/share/distro_const/slim_cd/all_lang_slim_cd_x86.xml /var/tmp

    3. Edit the copy and change the repository to pull packages
       down from, to your own one.

    4. Build the CD with

        pfexec distro_const build /var/tmp/all_lang_slim_cd_x86.xml

    5. The resulting ISO image can then be found in /rpool/dc/media

I'm now at build #129 (on an Ultra 40) and am trying them again with a
local repository on my machine, and they are failing.

So I thought I'd do a sanity check, and just try to generate a Live CD
image from the default repository. That's failing too (see below).

I've installed the branch 129 version of SUNWdistro-const:

$ pkg info SUNWdistro-const
          Name: SUNWdistro-const
       Summary: Distribution Constructor files
   Description: Distribution Constructor files
      Category: System/Core
         State: Installed
     Publisher: opensolaris.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.129
Packaging Date: Sat Dec 05 08:11:28 2009
          Size: 680.98 kB
          FMRI: 
pkg://opensolaris.org/SUNWdistro-const at 0.5.11,5.11-0.129:20091205T081128Z
$

and this time, for step #3, I changed nothing (i.e the repository url is
"http://pkg.opensolaris.org/release"; and the authority is "opensolaris.org")

When I try to build the Live CD image, I get:

$ pfexec distro_const build 
/var/tmp/all_lang_slim_cd_x86.xml/usr/share/distro_const/DC-manifest.defval.xml 
validates
/tmp/all_lang_slim_cd_x86_temp_16939.xml validates
Simple Log: /rpool/dc/logs/simple-log-2009-12-27-03-55-49
Detail Log: /rpool/dc/logs/detail-log-2009-12-27-03-55-49
Build started Sun Dec 27 03:55:49 2009
Distribution name: OpenSolaris
Build Area dataset: rpool/dc
Build Area mount point: /rpool/dc
==== im-pop: Populate the image with packages
Initializing the IPS package image area: /rpool/dc/build_data/pkg_image
Setting preferred publisher: opensolaris.org
        Origin repository: http://pkg.opensolaris.org/release
Verifying the contents of the IPS repository
Installing the designated packages
Uninstalling the designated packages
Setting post-install preferred publisher: opensolaris.org
        Origin repository: http://pkg.opensolaris.org/release
==== im-mod: Image area modifications
==== slim-im-mod: Slim CD Image area Modifications
0 blocks
WARNING: failed to parse type name `str'
WARNING: invalid or missing type for schema 
(/schemas/apps/packagemanager/preferences/remote_search_error)
WARNING: Failed to parse default value `??????????? ?????? 
;gtk-theme-selector.desktop,???????????? ??????????? 
???;default-applications.desktop,??????????? 
????;gnome-cups-manager.desktop]' for schema 
(/schemas/apps/control-center/cc_actions_list)
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: Cache file created successfully.
==== ba-init: Boot archive initialization
Error purging old contents from boot archive build area
Traceback (most recent call last):
  File "/usr/share/distro_const/boot_archive_initialize.py", line 94, in 
<module>
    shutil.rmtree(BA_BUILD)
  File "/usr/lib/python2.6/shutil.py", line 208, in rmtree
    onerror(os.listdir, path, sys.exc_info())
  File "/usr/lib/python2.6/shutil.py", line 206, in rmtree
    names = os.listdir(path)
OSError: [Errno 2] No such file or directory: 
'/rpool/dc/build_data/boot_archive'
Child returned err 1
Build completed Sun Dec 27 04:50:51 2009
Build failed.
$

Detailed log is attached. 

Have the set of instructions changed? Should I be doing something 
differently now?

Thanks.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: detail-log.txt
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20091227/9dfa142e/attachment.txt>

Reply via email to