Hello.

How do I create OpenIndiana install medium with custom illumos packages?

I built illumos with two Xen patches sent to illumos devel ml for a review and pointed pkd.depot to the built packages (/usr/lib/pkg.depotd -d /ws/illumos-gate/packages/i386/nightly/repo.redist -p 10000).

These are the changes I did in slim_minimal_X86.xml:

<pkg_repo_addl_authority>
    <main
        url="" class="moz-txt-link-rfc2396E" href="http://localhost:10000/">"http://localhost:10000/"
        authname="on-nightly"/>
</pkg_repo_addl_authority>

and

<packages>
    <!-- <pkg name="pkg:/entire"/> -->
    <pkg name="pkg://on-nightly/consolidation/osnet/osnet-incorporation"/>
    <pkg name="pkg:/minimal_install"/>
    <pkg name="pkg:/system/install/text-install"/>
    <pkg name="pkg:/system/install/media/internal"/>
</packages>

I can see some interaction with pkg.depot:

127.0.0.1 - - [08/Dec/2017:12:00:42] "GET /versions/0/ HTTP/1.1" 200 177 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"
127.0.0.1 - - [08/Dec/2017:12:00:42] "GET /on-nightly/catalog/1/catalog.attrs HTTP/1.1" 200 732 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"
127.0.0.1 - - [08/Dec/2017:12:00:42] "GET /on-nightly/catalog/1/catalog.summary.C HTTP/1.1" 200 193511 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"
127.0.0.1 - - [08/Dec/2017:12:00:42] "GET /on-nightly/catalog/1/catalog.dependency.C HTTP/1.1" 200 258218 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"
127.0.0.1 - - [08/Dec/2017:12:00:42] "GET /on-nightly/catalog/1/catalog.base.C HTTP/1.1" 200 70279 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"
127.0.0.1 - - [08/Dec/2017:12:00:49] "GET /versions/0/ HTTP/1.1" 200 177 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"
127.0.0.1 - - [08/Dec/2017:12:00:49] "GET /on-nightly/catalog/1/catalog.attrs HTTP/1.1" 200 732 "" "pkg/31801149 (sunos i86pc; 5.11 illumos-68d7704518; full; pkg)"

But the build process eventually fails (full log) with:

...
pkg install: No matching version of minimal_install can be installed:
  Reject:  pkg://openindiana.org/minimal_install@0.1-2017.0.0.17
  Reason:  No version matching 'require' dependency SUNWcs can be installed
    ----------------------------------------
    Reject:  pkg://on-nightly/SUNWcs@0.5.11-2017.3.0.0
pkg install: No matching version of minimal_install can be installed:
  Reject:  pkg://openindiana.org/minimal_install@0.1-2017.0.0.17
  Reason:  No version matching 'require' dependency SUNWcs can be installed
    ----------------------------------------
    Reject:  pkg://on-nightly/SUNWcs@0.5.11-2017.3.0.0
    Reason:  Higher ranked publisher openindiana.org was selected
    Reject:  pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16768
               to
             pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16893
    Reason:  Excluded by proposed incorporation 'consolidation/osnet/osnet-incorporation'
    ----------------------------------------
    Reason:  Higher ranked publisher openindiana.org was selected
    Reject:  pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16768
               to
             pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16893
    Reason:  Excluded by proposed incorporation 'consolidation/osnet/osnet-incorporation'
    ----------------------------------------
  Reject:  pkg://openindiana.org/minimal_install@0.1-2017.0.0.18
             to
           pkg://openindiana.org/minimal_install@0.1-2017.0.0.22
  Reason:  No version matching 'require' dependency SUNWcs can be installed
...

Thanks,
Michal

_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to