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/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
> 

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

Reply via email to