svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

Eugene Grosbein eugen at grosbein.net
Fri Jan 17 13:17:30 UTC 2020


17.01.2020 19:58, Slawa Olhovchenkov wrote:

>>>> Considering /usr/ports, /usr/src and /usr/obj and amount of RAM
>>>> needed to keep metadata in ZFS ARC
>>>
>>> /usr/ports, /usr/src and /usr/obj don't need be exist on low-RAM
>>> install -- use poudriere and release build on dedicated build host and
>>> applay binary update.
>>
>> Poudriere itself has its disadvantages. It's heavy and it's unable to produce minimal set of target packages
>> suitable for "pkg install -U *.txz" command without build-only dependencies.
> 
> Can you do it by /usr/ports way? No. And what you point?

I can and I do, with my own scripts.

>> I'd like to stick with poudriere but could not. Its supposed work-style does not worth it.
>>
>> Real Work (TM) sometimes presents the need to apply patches, so
>> /usr/src and /usr/obj may become are unavoidable.
> 
> I am do w/ dedicated builhost, produce custom build of
> base.txz/kernel.txz/kernel.CUSTOM.txz and applay binary updates w/ BE.
> What you point?

The virtual guest is stand-alone including upgrades, does not depend on build host nor its existance.

>> 1GB-RAM UFS system runs just fine with such trees being stand-alone and does not require extra build system and nor its overhead.
> 
> clang very hard to compile in 1GB RAM.

It was fine before clang-[78]. Buy nowadays, yes, I'm forced to use multiple knobs for src.conf

WITHOUT_LLVM_TARGET_ALL=
WITH_LLVM_TARGET_X86=
WITHOUT_CLANG_FULL=

And using WITH_META_MODE not cleaning obj directory.

> Anyway, my 1GB ZFS system run just fine.

During life-time of stable/10 and early stable/11 (and not so-early)
ZFS required hard tuning for 1GB i386 system to be stable because it's KVM-hog.




More information about the svn-src-all mailing list