[oi-dev] distro-const on IllumOS

Piotr Jasiukajtis estseg at gmail.com
Fri Feb 3 10:36:23 UTC 2012


Hi,

I'm moving this to the oi-dev@ mailing list :)

Gabriele would like to make an iso image for a custom illumos build.

On Tue, Jan 31, 2012 at 9:32 AM, Gabriele Bulfon <gbulfon at sonicle.com> wrote:
> Thanks a lot for the info! :)
>
> Yes I tried with the "incorporations".
> The pkg_repo points to
> "file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist"
> with authname="on-nightly", then substitude the "entire" entry witj:
>
> <pkg name="pkg:/consolidation/osnet/osnet-incorporation"/>
>
>
> But I get errors (log pasted at the end of the mail)
>
> BTW, what is the pourpose of setting openindiana.org as a --non-sticky
> publisher?
> I mean, why do I need a reference to that distribution when I'm trying to
> make my own one?
>
> Thanx so much!
> Gabriele.
>
> LOG:
>
> Build started Mon Jan 23 17:16:45 2012
> Distribution name: Sonicle_Server
> Build Area dataset: rpool/dc-illumos
> Build Area mount point: /rpool/dc-illumos
> exec command: /usr/share/distro_const/finalizer_checkpoint.py
> /tmp/ManifestServ.104142 /rpool/dc-illumos/build_data/pkg_image
> /rpool/dc-illumos/build_data/tmp /rpool/dc-illumos/build_data/boot_archive
> /rpool/dc-illumos/media xstream-illumos.xml /rpool/dc-illumos/.step_im-pop
> rpool/dc-illumos/build_data at .step_im-pop ==== im-pop: Image area creation
>
> ==== im-pop: Image area creation
> exec command: /usr/share/distro_const/im_pop.py /tmp/ManifestServ.104142
> /rpool/dc-illumos/build_data/pkg_image /rpool/dc-illumos/build_data/tmp
> /rpool/dc-illumos/build_data/boot_archive /rpool/dc-illumos/media
>
> Initializing the IPS package image area:
> /rpool/dc-illumos/build_data/pkg_image
> Setting preferred publisher: on-nightly
> Origin repository:
> file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist
> exec command: /usr/bin/pkg image-create -F -p
> on-nightly=file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist
> /rpool/dc-illumos/build_data/pkg_image
> exec command: /usr/bin/pkg -R /rpool/dc-illumos/build_data/pkg_image
> set-property flush-content-cache-on-success True
> Verifying the contents of the IPS repository
> exec command: /usr/bin/pkg -R /rpool/dc-illumos/build_data/pkg_image list -a
> pkg:/consolidation/osnet/osnet-incorporation
> NAME (PUBLISHER) VERSION STATE UFOXI
> consolidation/osnet/osnet-incorporation 0.5.11-0.152 known -----
> Installing the designated packages
> exec command: /usr/bin/pkg -R /rpool/dc-illumos/build_data/pkg_image install
> --no-index --accept pkg:/consolidation/osnet/osnet-incorporation
> Packages to install: 1
> Create boot environment: No
> Install Phase ... Done
> Package State Update Phase ... Done
> Image State Update Phase ... Done
> Deleting content cache
> Setting post-install preferred publisher: on-nightly
> Origin repository:
> file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist
> No packages to uninstall
> exec command: /usr/bin/pkg -R /rpool/dc-illumos/build_data/pkg_image
> set-publisher -P -O
> file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist
> --no-refresh on-nightly
> Setting post-install alternate publisher: on-nightly
> Origin repository:
> file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist
> exec command: /usr/bin/pkg -R /rpool/dc-illumos/build_data/pkg_image
> set-publisher -O
> file:/sources/illumos/illumos-gate/packages/i386/nightly/repo.redist
> --no-refresh on-nightly
> exec command: /usr/bin/pkg -R /rpool/dc-illumos/build_data/pkg_image
> purge-history
> exec command: /usr/share/distro_const/finalizer_checkpoint.py
> /tmp/ManifestServ.104142 /rpool/dc-illumos/build_data/pkg_image
> /rpool/dc-illumos/build_data/tmp /rpool/dc-illumos/build_data/boot_archive
> /rpool/dc-illumos/media sonicle-illumos.xml /rpool/dc-illumos/.step_im-mod
> rpool/dc-illumos/build_data at .step_im-mod ==== im-mod: Image area
> modifications
>
> ==== im-mod: Image area modifications
> exec command: /usr/share/distro_const/pre_boot_archive_pkg_image_mod.py
> /tmp/ManifestServ.104142 /rpool/dc-illumos/build_data/pkg_image
> /rpool/dc-illumos/build_data/tmp /rpool/dc-illumos/build_data/boot_archive
> /rpool/dc-illumos/media
>
> root_passwd_text = openindiana
> is_plaintext = True
> Traceback (most recent call last):
> File "/usr/share/distro_const/pre_boot_archive_pkg_image_mod.py", line 86,
> in <module>
> alt_root=pkg_img_path)
> File "/usr/lib/python2.6/vendor-packages/osol_install/install_utils.py",
> line 808, in encrypt_password
> salt = crypt_gensalt(alt_root)
> File "/usr/lib/python2.6/vendor-packages/osol_install/install_utils.py",
> line 770, in crypt_gensalt
> for alg in allow_alg:
> TypeError: 'NoneType' object is not iterable
> Child returned err 1
> Build completed Mon Jan 23 17:17:11 2012
> Build failed.



-- 
Piotr Jasiukajtis




More information about the oi-dev mailing list