[oi-dev] how to change local build repo prefix
Till Wegmueller
toasterson at gmail.com
Sat Oct 29 15:25:46 UTC 2022
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
More information about the oi-dev
mailing list