Re: changing from pkgbase to regularbase - small addition in step 4)
Date: Thu, 20 Nov 2025 16:27:30 UTC
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.