Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2025 19:39:36 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Alastair Hogge <agh@riseup.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: etcupdate failed to build tree with read-only /usr/src
Message-ID:  <86plhdb9yf.fsf@ltc.des.dev>
In-Reply-To: <cfc70012e62094062e0b8b8a7b51846f@riseup.net> (Alastair Hogge's message of "Sun, 13 Apr 2025 02:51:17 %2B0000")
References:  <cfc70012e62094062e0b8b8a7b51846f@riseup.net>

index | next in thread | previous in thread | raw e-mail

Alastair Hogge <agh@riseup.net> writes:
> After the build processes complete [...]
>
> $ doas su -
> # cd /usr/src
> # etcupdate -p
> # env MAKEOBJDIRPREFIX=/tmp/fafnir make installkernel
> # env MAKEOBJDIRPREFIX=/tmp/fafnir make installworld
> # etcupdate
>
> Here etcupdate exits with, "Failed to build new tree."

Since you just completed buildworld, you should be using `etcupdate -B`
here.  It will save you time and should work around the read-only issue.

(I really wish -B were the default, and we had -b instead for the
less-common opposite case.)

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86plhdb9yf.fsf>