Hi Michael The Problem is that you are using packages from OI-Userland to define the installed packges.
You will need to use packages inside your depotd inside the xml tags. I do not beleive that you have a package called minimal_install in your repo. That package is from OI-Userland. My guess would be to use SUNWcs or system/kernel and system/library as packges names to install. They should grab enough other components for you to have a runnable testable system. Greetings Till On 08.12.2017 12:38, Michal Nowak wrote: > 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 > <https://paste.ec/paste/WtFORIAh#byqTjNqCf0fQsNYqLpj1gBflN+dXukDbuP+E9+gPuAa>: > > <pkg_repo_addl_authority> > <main > url="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 > <https://paste.ec/paste/Lrl0oHc5#GGGmn7GznILiHu+3zvre3ZFRhOxRgznvr+pPXMoqM9G>) > with: > > ... > pkg install: No matching version of minimal_install can be installed: > Reject: pkg://openindiana.org/[email protected] > Reason: No version matching 'require' dependency SUNWcs can be installed > ---------------------------------------- > Reject: pkg://on-nightly/[email protected] > pkg install: No matching version of minimal_install can be installed: > Reject: pkg://openindiana.org/[email protected] > Reason: No version matching 'require' dependency SUNWcs can be installed > ---------------------------------------- > * Reject: pkg://on-nightly/[email protected]** > ** Reason: Higher ranked publisher openindiana.org was selected** > ** Reject: pkg://openindiana.org/[email protected]** > ** to** > ** pkg://openindiana.org/[email protected]** > ** Reason: Excluded by proposed incorporation > 'consolidation/osnet/osnet-incorporation'* > ---------------------------------------- > Reason: Higher ranked publisher openindiana.org was selected > Reject: pkg://openindiana.org/[email protected] > to > pkg://openindiana.org/[email protected] > Reason: Excluded by proposed incorporation > 'consolidation/osnet/osnet-incorporation' > ---------------------------------------- > Reject: pkg://openindiana.org/[email protected] > to > pkg://openindiana.org/[email protected] > Reason: No version matching 'require' dependency SUNWcs can be installed > ... > > Thanks, > Michal > > > > _______________________________________________ > oi-dev mailing list > [email protected] > https://openindiana.org/mailman/listinfo/oi-dev > _______________________________________________ oi-dev mailing list [email protected] https://openindiana.org/mailman/listinfo/oi-dev
