Date: Thu, 20 Nov 2025 17:27:30 +0100 From: h v <henry.vogt@gmail.com> To: freebsd-current@freebsd.org Subject: Re: changing from pkgbase to regularbase - small addition in step 4) Message-ID: <06f1226f-f904-4bd8-869c-fb236d7fd73b@gmail.com> In-Reply-To: <3a98225a-0f49-4010-9e6b-8f893a069ba1@FreeBSD.org> References: <aR3Rc_5llfvlEjIo@int21h> <aR8OTHleXSR4ysZ-@int21h> <3a98225a-0f49-4010-9e6b-8f893a069ba1@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Am 20.11.25 um 15:56 schrieb Matthew Seaman: > On 20/11/2025 12:49, void wrote: >> What I'm ultimately looking for, is a method of transforming >> a pkgbase system into a not-pkgbase one, that upgrades >> in the traditional source-based way. > > This is how I would do it: > ... if on zroot, you could simply: 1) create a new bootenv e.g bectl create NONPKGBASE 2) mount it e.g. bectl mount NONPKGBASE /mnt 3) pkg -r /mnt delete -f -g 'FreeBSD-*' # this is one of the rare legitimate use cases for -f imho:-) 4) install the base os as usual e.g 'cd /usr/src ; make install DESTDIR=/mnt', afterwards 'rsync -av /etc/ /mnt/etc/ ' to restore the original /etc 5) activate NONPKGBASE snd reboot into it. 6) if all went well destroy the original and voilá. Hope this helps.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06f1226f-f904-4bd8-869c-fb236d7fd73b>
