Page MenuHomeFreeBSD

pkgbase: Always stage the kernel using INSTKERNNAME
AcceptedPublic

Authored by manu on Apr 22 2023, 9:46 AM.
Referenced Files
Unknown Object (File)
Dec 12 2025, 4:45 PM
Unknown Object (File)
Nov 28 2025, 11:15 PM
Unknown Object (File)
Nov 26 2025, 7:07 AM
Unknown Object (File)
Nov 12 2025, 10:31 PM
Unknown Object (File)
Nov 11 2025, 9:21 PM
Unknown Object (File)
Oct 27 2025, 3:28 AM
Unknown Object (File)
Oct 27 2025, 3:28 AM
Unknown Object (File)
Oct 27 2025, 3:21 AM

Details

Reviewers
adrian
Group Reviewers
pkgbase
Summary

When building with only one kernel stage it and create the package
so it will be installed in /boot/kernel.${INSTKERNNAME}.
The advantage is that is doesn't conflict with make installkernel which helps
when you are using pkgbase on your main dev box.

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51118
Build 48009: arc lint + arc unit

Event Timeline

manu requested review of this revision.Apr 22 2023, 9:46 AM

I'll update UPDATING after that as this will likely break existing installation.

This revision is now accepted and ready to land.Aug 6 2025, 5:39 PM

is this still relevant? i don't think it's correct (anymore): the first kernel in KERNCONF is always installed to /boot/kernel because that's where the default kernel is expected to be. changing that would require updating a load of stuff (like loader) to look somewhere else instead.

In D39758#1182965, @ivy wrote:

is this still relevant? i don't think it's correct (anymore): the first kernel in KERNCONF is always installed to /boot/kernel because that's where the default kernel is expected to be. changing that would require updating a load of stuff (like loader) to look somewhere else instead.

It's not and iirc there was problems with this patch (unfortunately I can't remember what ...)