<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello.</p>
    <p>How do I create OpenIndiana install medium with custom illumos
      packages?</p>
    <p>I built illumos with two Xen patches sent to illumos devel ml for
      a review and pointed <tt>pkd.depot</tt> to the built packages (<tt>/usr/lib/pkg.depotd
        -d /ws/illumos-gate/packages/i386/nightly/repo.redist -p 10000</tt>).</p>
    <p>These are the changes I did in <a moz-do-not-send="true"
href="https://paste.ec/paste/WtFORIAh#byqTjNqCf0fQsNYqLpj1gBflN+dXukDbuP+E9+gPuAa">slim_minimal_X86.xml</a>:</p>
    <p><tt><pkg_repo_addl_authority></tt><tt><br>
      </tt><tt>    <main</tt><tt><br>
      </tt><tt>        url=<a class="moz-txt-link-rfc2396E" href="http://localhost:10000/">"http://localhost:10000/"</a></tt><tt><br>
      </tt><tt>        authname="on-nightly"/></tt><tt><br>
      </tt><tt></pkg_repo_addl_authority></tt><br>
    </p>
    <p>and</p>
    <p><tt><packages></tt><tt><br>
      </tt><tt>    <!-- <pkg name="pkg:/entire"/> --></tt><tt><br>
      </tt><tt>    <pkg
        name="pkg://on-nightly/consolidation/osnet/osnet-incorporation"/></tt><tt><br>
      </tt><tt>    <pkg name="pkg:/minimal_install"/></tt><tt><br>
      </tt><tt>    <pkg name="pkg:/system/install/text-install"/></tt><tt><br>
      </tt><tt>    <pkg
        name="pkg:/system/install/media/internal"/></tt><tt><br>
      </tt><tt></packages></tt></p>
    <p>I can see some interaction with <tt>pkg.depot</tt>:</p>
    <p>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)"<br>
      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)"<br>
      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)"<br>
      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)"<br>
      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)"<br>
      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)"<br>
      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)"</p>
    <p>But the build process eventually fails (<a moz-do-not-send="true"
href="https://paste.ec/paste/Lrl0oHc5#GGGmn7GznILiHu+3zvre3ZFRhOxRgznvr+pPXMoqM9G">full
        log</a>) with:</p>
    <p><tt>...</tt><tt><br>
      </tt><tt>pkg install: No matching version of minimal_install can
        be installed:</tt><tt><br>
      </tt><tt>  Reject: 
        <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/minimal_install@0.1-2017.0.0.17">pkg://openindiana.org/minimal_install@0.1-2017.0.0.17</a></tt><tt><br>
      </tt><tt>  Reason:  No version matching 'require' dependency
        SUNWcs can be installed</tt><tt><br>
      </tt><tt>    ----------------------------------------</tt><tt><br>
      </tt><tt>    Reject:  <a class="moz-txt-link-abbreviated" href="mailto:pkg://on-nightly/SUNWcs@0.5.11-2017.3.0.0">pkg://on-nightly/SUNWcs@0.5.11-2017.3.0.0</a></tt><tt><br>
      </tt><tt>pkg install: No matching version of minimal_install can
        be installed:</tt><tt><br>
      </tt><tt>  Reject: 
        <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/minimal_install@0.1-2017.0.0.17">pkg://openindiana.org/minimal_install@0.1-2017.0.0.17</a></tt><tt><br>
      </tt><tt>  Reason:  No version matching 'require' dependency
        SUNWcs can be installed</tt><tt><br>
      </tt><tt>    ----------------------------------------</tt><tt><br>
      </tt><tt><b>    Reject:  <a class="moz-txt-link-abbreviated" href="mailto:pkg://on-nightly/SUNWcs@0.5.11-2017.3.0.0">pkg://on-nightly/SUNWcs@0.5.11-2017.3.0.0</a></b></tt><tt><b><br>
        </b></tt><tt><b>    Reason:  Higher ranked publisher
          openindiana.org was selected</b></tt><tt><b><br>
        </b></tt><tt><b>    Reject: 
          <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16768">pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16768</a></b></tt><tt><b><br>
        </b></tt><tt><b>               to</b></tt><tt><b><br>
        </b></tt><tt><b>            
          <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16893">pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16893</a></b></tt><tt><b><br>
        </b></tt><tt><b>    Reason:  Excluded by proposed incorporation
          'consolidation/osnet/osnet-incorporation'</b></tt><tt><br>
      </tt><tt>    ----------------------------------------</tt><tt><br>
      </tt><tt>    Reason:  Higher ranked publisher openindiana.org was
        selected</tt><tt><br>
      </tt><tt>    Reject: 
        <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16768">pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16768</a></tt><tt><br>
      </tt><tt>               to</tt><tt><br>
      </tt><tt>            
        <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16893">pkg://openindiana.org/SUNWcs@0.5.11-2017.0.0.16893</a></tt><tt><br>
      </tt><tt>    Reason:  Excluded by proposed incorporation
        'consolidation/osnet/osnet-incorporation'</tt><tt><br>
      </tt><tt>    ----------------------------------------</tt><tt><br>
      </tt><tt>  Reject: 
        <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/minimal_install@0.1-2017.0.0.18">pkg://openindiana.org/minimal_install@0.1-2017.0.0.18</a></tt><tt><br>
      </tt><tt>             to</tt><tt><br>
      </tt><tt>          
        <a class="moz-txt-link-abbreviated" href="mailto:pkg://openindiana.org/minimal_install@0.1-2017.0.0.22">pkg://openindiana.org/minimal_install@0.1-2017.0.0.22</a></tt><tt><br>
      </tt><tt>  Reason:  No version matching 'require' dependency
        SUNWcs can be installed</tt><tt><br>
      </tt><tt>...</tt></p>
    <p>Thanks,<br>
      Michal<br>
    </p>
  </body>
</html>