[oi-dev] Building install medium with custom illumos
mnowak at startmail.com
Fri Dec 8 16:50:50 UTC 2017
On 12/08/2017 01:31 PM, Alexander Pyhalov wrote:
> On 12/08/17 02:38 PM, Michal Nowak wrote:
>> 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 name="pkg:/entire"/> -->
>> <pkg name="pkg:/minimal_install"/>
>> <pkg name="pkg:/system/install/text-install"/>
>> <pkg name="pkg:/system/install/media/internal"/>
> 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
> . You'd like to remove, for example, ssh packages, delivered by
> 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
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.
More information about the oi-dev