Re: [oi-dev] Building install medium with custom illumos

2017-12-08 Thread Michal Nowak

On 12/08/2017 01:31 PM, Alexander Pyhalov wrote:

On 12/08/17 02:38 PM, 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 1).

These are the changes I did in slim_minimal_X86.xml
: 




  http://localhost:1/";
  authname="on-nightly"/>


and


  
  name="pkg://on-nightly/consolidation/osnet/osnet-incorporation"/>

  
  
  




Hello.
You'll have (at least) 2 problems.
1) The one you have is easy to solve. Your repository should be first 
in repository list (in  pkg_repo_default_authority section).
2) The second one is that we replace some packages from 
osnet-incorporation (and from repository) - see
https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/openindiana/illumos-gate/packages.ignore 

and 
https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/openindiana/illumos-gate/Makefile#L155 
. You'd like to remove, for example, ssh packages, delivered by 
illumos-gate.


Perhaps, it's easier to use oi-userland reciept to build illumos-gate, 
so that you'll have all OI customizations applied to illumos-gate 
packages and do use oi-userland repository as pkg_repo_default_authority.




Thank you Till and Alp, with your kind help I was able to build those 
images.


With the userland illumos-gate component it was really easy to build the 
patched illumos and incorporate it to install images. The only other 
thing I had to do was to move userland to pkg_repo_default_authority and 
openindiana.org to pkg_repo_addl_authority, as Alp suggested.


Michal


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

Re: [oi-dev] Building install medium with custom illumos

2017-12-08 Thread Alexander Pyhalov

On 12/08/17 02:38 PM, 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 1).

These are the changes I did in slim_minimal_X86.xml
:


  http://localhost:1/";
  authname="on-nightly"/>


and


  
  
  
  
  




Hello.
You'll have (at least) 2 problems.
1) The one you have is easy to solve. Your repository should be first in 
repository list (in  pkg_repo_default_authority section).
2) The second one is that we replace some packages from 
osnet-incorporation (and from repository) - see

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/openindiana/illumos-gate/packages.ignore
and 
https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/openindiana/illumos-gate/Makefile#L155 
. You'd like to remove, for example, ssh packages, delivered by 
illumos-gate.


Perhaps, it's easier to use oi-userland reciept to build illumos-gate, 
so that you'll have all OI customizations applied to illumos-gate 
packages and do use oi-userland repository as pkg_repo_default_authority.




--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

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


Re: [oi-dev] Building install medium with custom illumos

2017-12-08 Thread Till Wegmüller
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 1).
> 
> These are the changes I did in slim_minimal_X86.xml
> :
> 
> 
>              url="http://localhost:1/";
>         authname="on-nightly"/>
> 
> 
> and
> 
> 
>     
>     
>     
>     
>     
> 
> 
> 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
> 

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

[oi-dev] Building install medium with custom illumos

2017-12-08 Thread Michal Nowak

  
  
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 1).
These are the changes I did in slim_minimal_X86.xml:

      
          url="" class="moz-txt-link-rfc2396E" href="http://localhost:1/">"http://localhost:1/"
          authname="on-nightly"/>
  

and

      
      
      
      
      
  
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