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)
Sun, Aug 17, 1:48 AM
Unknown Object (File)
Mon, Jul 28, 2:31 PM
Unknown Object (File)
Fri, Jul 25, 9:42 PM
Unknown Object (File)
Thu, Jul 24, 3:09 PM
Unknown Object (File)
Thu, Jul 24, 12:54 AM
Unknown Object (File)
Jul 20 2025, 1:37 AM
Unknown Object (File)
Jul 8 2025, 3:13 AM
Unknown Object (File)
Jul 5 2025, 1:45 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.Wed, Aug 6, 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 ...)