Page MenuHomeFreeBSD

pkgbase: Always stage the kernel using INSTKERNNAME
AcceptedPublic

Authored by manu on Apr 22 2023, 9:46 AM.
Referenced Files
F171837826: D39758.id120853.diff
Sun, Sep 13, 10:58 PM
Unknown Object (File)
Wed, Sep 9, 5:06 AM
Unknown Object (File)
Tue, Sep 8, 8:54 AM
Unknown Object (File)
Fri, Sep 4, 8:46 PM
Unknown Object (File)
Thu, Sep 3, 8:08 AM
Unknown Object (File)
Aug 3 2026, 2:43 AM
Unknown Object (File)
Aug 2 2026, 6:08 AM
Unknown Object (File)
Jul 24 2026, 3:41 PM

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 ...)