Re: /boot/dtb/*/* files lead to main FreeBSD-kernel* (generic vs. generic-nodebug) conflict and, so, only one at a time, possibly no default

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 22 Jan 2024 23:32:16 UTC
On Jan 20, 2024, at 19:27, Mark Millard <marklmi@yahoo.com> wrote:

> For example:
> 
> Updating base repository catalogue...
> base repository is up to date.
> All repositories are up to date.
> Checking integrity... done (1 conflicting)
>  - FreeBSD-kernel-generic-nodebug-15.snap20240120223308 [base] conflicts with FreeBSD-kernel-generic-15.snap20240120223308 [installed] on /boot/dtb/allwinner/sun50i-a64-nanopi-a64.dtb
> Checking integrity... done (0 conflicting)
> The following 3 package(s) will be affected (of 0 checked):
> 
> Installed packages to be REMOVED:
>        FreeBSD-kernel-generic: 15.snap20240120223308
> 
> New packages to be INSTALLED:
>        FreeBSD-kernel-generic-nodebug: 15.snap20240120223308 [base]
>        FreeBSD-kernel-generic-nodebug-dbg: 15.snap20240120223308 [base]
> 
> Number of packages to be removed: 1
> Number of packages to be installed: 2
> 
> The process will require 267 MiB more space.
> 
> Proceed with this action? [y/N]: y
> [1/3] Deinstalling FreeBSD-kernel-generic-15.snap20240120223308...
> [1/3] Deleting files for FreeBSD-kernel-generic-15.snap20240120223308: 100%
> [2/3] Installing FreeBSD-kernel-generic-nodebug-dbg-15.snap20240120223308...
> [2/3] Extracting FreeBSD-kernel-generic-nodebug-dbg-15.snap20240120223308: 100%
> [3/3] Installing FreeBSD-kernel-generic-nodebug-15.snap20240120223308...
> [3/3] Extracting FreeBSD-kernel-generic-nodebug-15.snap20240120223308: 100%
> 
> # ls -Tlod /boot/kernel*/kernel*
> -r--r--r--  1 root wheel - 18194200 Jan 20 22:33:33 2024 /boot/kernel.GENERIC-NODEBUG/kernel
> -r--r--r--  1 root wheel - 18194200 Jan 19 18:22:51 2024 /boot/kernel/kernel.pkgsave
> 
> So: no /boot/kernel/kernel present.
> 
> Looks like /boot/dtb/ and /boot/dtb.GENERIC-NODEBUG/ or some such
> is needed to avoid the conflicts.

This is also an issue for FreeBSD-kernel-generic vs. FreeBSD-kernel-generic-mmccam
in some respects, shown here for stable/14 on armv7:

Checking integrity... done (1 conflicting)
  - FreeBSD-kernel-generic-mmccam-14.snap20240122095535 [base] conflicts with FreeBSD-kernel-generic-14.snap20240122095535 [installed] on /boot/dtb/am335x-bone.dtb


===
Mark Millard
marklmi at yahoo.com