Skip to content

Build new pkgbase kernel for a jail without rebuilding base #1314

@wesnm

Description

@wesnm

Prerequisites

  • Have you checked for an existing issue describing your idea?

What is your proposal?

Add the ability to rebuild the kernel for a jail that was created with pkgbase.

What is the existing behavior, if any?

The only way to rebuild the kernel package for a jail is to perform an entire buildworld and rebuild all packages.

What is the motivation / use case for the change?

In an environment where a custom kernel is used, there is occasionally a need to add a driver to the kernel, especially if the module build list is also limited. Being able to rebuild the kernel without creating new packages for the base system would be useful.

Did you consider any alternatives?

Building a custom kernel on the system is undesirable. It has no src tree and minimal resources.

Is this really a ports feature request?

No

Additional context

Supporting building multiple kernels for a jail would also be nice, especially if they installed in /boot/kernelname. You could keep a GENERIC available as a fallback. The INSTALLKERNEL process kept around a kernel.old as a fallback should something go wrong, but that has been lost with pkgbase. Could also use some better integration with boot environments as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions