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, Nov 12, 10:31 PM
Unknown Object (File)
Tue, Nov 11, 9:21 PM
Unknown Object (File)
Mon, Oct 27, 3:28 AM
Unknown Object (File)
Mon, Oct 27, 3:28 AM
Unknown Object (File)
Mon, Oct 27, 3:21 AM
Unknown Object (File)
Mon, Oct 20, 6:10 PM
Unknown Object (File)
Sun, Oct 19, 12:13 PM
Unknown Object (File)
Sun, Oct 19, 12:12 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 ...)