sysutils/firstboot-freebsd-update unconditionally tries to execute freebsd-update. On a pkgbase image, that doesn't work. Instead, it should try to update the image using pkg. If this script had been working, then a freebsd-15-0-BETA5 image would be working, despite bug #290982 .
Created attachment 265385 [details] Detect pkgbase systems, and upgrade with pkg instead of with freebsd-update Here's a WIP patch. But there are two open questions: Under what conditions should the script request a reboot? Might a "pkg upgrade -y" be too aggressive? Such a command would upgrade potentially many more packages than "freebsd-update install". Would it be a bad thing if we automatically upgrade all packages on firstboot? If so, we'll have to narrow down the command somehow.