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)
Wed, Oct 8, 3:15 AM
Unknown Object (File)
Tue, Sep 23, 7:30 AM
Unknown Object (File)
Thu, Sep 18, 2:11 AM
Unknown Object (File)
Wed, Sep 17, 5:03 AM
Unknown Object (File)
Thu, Sep 11, 4:01 AM
Unknown Object (File)
Aug 26 2025, 8:40 PM
Unknown Object (File)
Aug 26 2025, 4:04 PM
Unknown Object (File)
Aug 26 2025, 3:55 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 ...)