[oi-dev] how to change local build repo prefix

Till Wegmueller toasterson at gmail.com
Sun Oct 30 16:12:29 UTC 2022


Hi Stephan

Soory did not get that it was about illumos-gate.
For illumos-gate there is a dedicated tool called onu that does all that 
for you. No need for oi-userland

https://illumos.org/man/1ONBLD/onu

Greetings
Till

On 30/10/2022 05.05, Stephan Althaus wrote:
> On 10/29/22 17:25, Till Wegmueller wrote:
>> The publisher is set to userland for a specific reason. It makes it 
>> easy to tell pkg to install the package from the openindiana.org 
>> publisher if a newer version makes it there. If you change the 
>> publisher that prevents the you from being able to uninstall all 
>> userland publisher provided packages at once.
>>
>> However here are two ways.
>>
>> 1. Set the environment variable PUBLISHER to "openindiana.org" the 
>> Makefiles respect what is inside this env variable while setting their 
>> variable.
>>
>> 2. Setup userland as publisher without source `pkg set-publisher 
>> --non-sticky userland` and then whenever you need to install a package 
>> you can do `pkg install -g $WS_TOP/i386/repo $PKG`
>>
>>
>> Hope this helps
>> -Till
>>
>> On 29/10/2022 08.20, stes at PANDORA.BE wrote:
>>>
>>> There is a variable PUBLISHER and CONSOLIDATION in shared-macros.mk 
>>> which is set to userland.
>>>
>>> I haven't tried setting PUBLISHER to something else, or maybe I once 
>>> tried, I can't remember,
>>> perhaps setting PUBLISHER=squeak to publish in a repo specifically 
>>> for squeak.
>>>
>>> However I wonder why you'd want to set PUBLISHER to openindiana.org.
>>>
>>> I suppose you could publish a custom package in userland and install 
>>> it, or use a publisher name,
>>> which is different in any case from openindiana.org.
>>>
>>> If the package is 'locked' into openindiana.org consolidations you 
>>> could try to change-facet
>>>
>>> as reported by
>>>
>>>   pkg facet
>>>
>>> for example unlock squeak with 
>>> version-lock.runtime.smalltalk.squeak=False
>>>
>>> ----- Op 29 okt 2022 om 12:59 schreef Stephan Althaus 
>>> Stephan.Althaus at Duedinghausen.eu:
>>>
>>>> Hello!
>>>>
>>>>
>>>> I can't remember how to change the local repo prefix from userland to
>>>> openindiana.org
>>>>
>>>> My goal is to build illumos-gate and install the packages to test a
>>>> patch for bug #15128
>>>>
>>>> I've done that myself several years ago but it seems i can't find the
>>>> information :-/
>>>>
>>>> Any hints are welcome :-)
>>>>
>>>>
>>>> Stephan
>>>>
>>>>
>>>> _______________________________________________
>>>> oi-dev mailing list
>>>> oi-dev at openindiana.org
>>>> https://openindiana.org/mailman/listinfo/oi-dev
>>>
>>> _______________________________________________
>>> oi-dev mailing list
>>> oi-dev at openindiana.org
>>> https://openindiana.org/mailman/listinfo/oi-dev
>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
> 
> Hello Till!
> 
> I followed 1) and could install the patched kernel!
> 
> Thank you very much!
> 
> Stephan
> 
> 
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev



More information about the oi-dev mailing list