Very short history:
* Installed:
FreeBSD xxxx 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n282114-770479c4cea0 GENERIC amd64
using the pkg installation option.
* Boostrap etcupdate using installed source via:
etcupdate extract
* Git download of OS source then:
make -j4 buildworld, make -j4 buildkernel KERNCONF=tst01d, make packages KERNCONF=tst01d
* Create a new ZFS boot environment and boot into it.
* Backup various partition blocks & boot loaders etc.
* Disable OS base repositories and enable the OS repository created at:
url: "file:////usr/obj/usr/src/repo/FreeBSD:15:amd64/latest"
* Install custom kernel and reboot:
pkg install -r main_base FreeBSD-kernel-tst01d-15.snap20260223023521
* Upgrade base:
pkg upgrade -r main_base
* Compared conf files via:
etcupdate diff
* Reboot.
* OS is now:
FreeBSD xxxx 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n282439-10f22bdf7fcf TST01D amd64.
* So far its all working well.
Questions:
* Is the above process reasonable?
* Can there be multiple kernels?
That is how to deal with:
----
pkg install -r main_base FreeBSD-kernel-tst01d-15.snap20260223023521
Updating main_base repository catalogue...
main_base repository is up to date.
main_base is up to date.
Checking integrity... done (1 conflicting)
- FreeBSD-kernel-tst01d-15.snap20260223023521 [main_base] conflicts with FreeBSD-kernel-generic-15.snap20260205031446 [installed] on /boot/kernel/aac.ko
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
FreeBSD-kernel-tst01d: 15.snap20260223023521 [main_base]
Installed packages to be REMOVED:
FreeBSD-kernel-generic: 15.snap20260205031446
Number of packages to be removed: 1
Number of packages to be installed: 1
----
* Installing base gave lot of missing file messages. Is this a problem?
----
Extracting FreeBSD-src-15.snap20260223023521: 100%
FreeBSD-src-15.snap20260205031446: missing file /usr/src/contrib/capsicum-test/.gitignore
FreeBSD-src-15.snap20260205031446: missing file /usr/src/contrib/capsicum-test/CONTRIBUTING.md
-- snip --
FreeBSD-src-15.snap20260205031446: missing file /usr/src/usr.bin/m4/tests/regress.sh
FreeBSD-src-15.snap20260205031446: missing file /usr/src/usr.bin/vi/extern.h
[261/310] Upgrading FreeBSD-src-sys from 15.snap20260205031446 to 15.snap20260223023521...
----
* Is a etcupdate replacement required when using the pkg method?
* How to convert from using the pkg method to the standard make install methods?
Thanks in advance for any comments.
* Installed:
FreeBSD xxxx 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n282114-770479c4cea0 GENERIC amd64
using the pkg installation option.
* Boostrap etcupdate using installed source via:
etcupdate extract
* Git download of OS source then:
make -j4 buildworld, make -j4 buildkernel KERNCONF=tst01d, make packages KERNCONF=tst01d
* Create a new ZFS boot environment and boot into it.
* Backup various partition blocks & boot loaders etc.
* Disable OS base repositories and enable the OS repository created at:
url: "file:////usr/obj/usr/src/repo/FreeBSD:15:amd64/latest"
* Install custom kernel and reboot:
pkg install -r main_base FreeBSD-kernel-tst01d-15.snap20260223023521
* Upgrade base:
pkg upgrade -r main_base
* Compared conf files via:
etcupdate diff
* Reboot.
* OS is now:
FreeBSD xxxx 15.0-STABLE FreeBSD 15.0-STABLE stable/15-n282439-10f22bdf7fcf TST01D amd64.
* So far its all working well.
Questions:
* Is the above process reasonable?
* Can there be multiple kernels?
That is how to deal with:
----
pkg install -r main_base FreeBSD-kernel-tst01d-15.snap20260223023521
Updating main_base repository catalogue...
main_base repository is up to date.
main_base is up to date.
Checking integrity... done (1 conflicting)
- FreeBSD-kernel-tst01d-15.snap20260223023521 [main_base] conflicts with FreeBSD-kernel-generic-15.snap20260205031446 [installed] on /boot/kernel/aac.ko
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
FreeBSD-kernel-tst01d: 15.snap20260223023521 [main_base]
Installed packages to be REMOVED:
FreeBSD-kernel-generic: 15.snap20260205031446
Number of packages to be removed: 1
Number of packages to be installed: 1
----
* Installing base gave lot of missing file messages. Is this a problem?
----
Extracting FreeBSD-src-15.snap20260223023521: 100%
FreeBSD-src-15.snap20260205031446: missing file /usr/src/contrib/capsicum-test/.gitignore
FreeBSD-src-15.snap20260205031446: missing file /usr/src/contrib/capsicum-test/CONTRIBUTING.md
-- snip --
FreeBSD-src-15.snap20260205031446: missing file /usr/src/usr.bin/m4/tests/regress.sh
FreeBSD-src-15.snap20260205031446: missing file /usr/src/usr.bin/vi/extern.h
[261/310] Upgrading FreeBSD-src-sys from 15.snap20260205031446 to 15.snap20260223023521...
----
* Is a etcupdate replacement required when using the pkg method?
* How to convert from using the pkg method to the standard make install methods?
Thanks in advance for any comments.