Date: Wed, 1 Apr 2026 12:10:08 -0700 From: Mark Millard <marklmi@yahoo.com> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-current@freebsd.org Subject: Re: Etcupdate runtime has more than doubled....Why? Message-ID: <c82fcae8-94e6-4a97-9d44-2ab14e9b1351@yahoo.com> In-Reply-To: <ac1lP2IqDJgiqHx4@www.zefox.net> References: <ac1SLQ4rS9tScr5-@www.zefox.net> <626584dc-ea9c-4a63-902c-4de4e10bba00@yahoo.com> <ac1lP2IqDJgiqHx4@www.zefox.net>
index | next in thread | previous in thread | raw e-mail
On 4/1/26 11:34, bob prohaska wrote: > On Wed, Apr 01, 2026 at 11:00:56AM -0700, Mark Millard wrote: >>> >> >> etcupdate has the option: >> >> >> -B Do not build generated files in a private object tree. >> Instead, reuse the generated files from a previously built >> object tree that matches the source tree. This can be >> useful to avoid gratuitous conflicts in sendmail(8) >> configuration files when bootstrapping. It can also be >> useful for building a tarball that matches a specific >> world build. >> >> >> So, if one already has the required context, its use might be relevant. >> Of course, without the proper context, it should not be used. >> >> What was the context-status and use vs. not for -B ? > > There's only one /usr/obj on the system. > > The buildworld command used was > make -j3 KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7 buildworld > and the etcupdate command following buildworld was > etcupdate -p > > After installing world and kernel, etcupdate runs again as > etcupdate > > Might using etcupdate -B in the second invocation be a remedy? Extracted/simplified from my more overall scripts full of local details: # make WITH_META_MODE=yes buildworld # make WITH_META_MODE=yes buildkernel # etcupdate -p # etcupdate resolve -p # make WITH_META_MODE=yes installkernel # make WITH_META_MODE=yes installworld # etcupdate -B # etcupdate resolve # make delete-old check-old # #AS NEEDED for timing?: make delete-old-libs # etcupdate status > > Thanks for writing! > > bob prohaska > > > -- === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c82fcae8-94e6-4a97-9d44-2ab14e9b1351>
