Page MenuHomeFreeBSD

pkgbase: Fix post-install script for kernel packages
ClosedPublic

Authored by kevans on Mar 14 2018, 4:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 10 2024, 2:01 AM
Unknown Object (File)
Oct 16 2024, 2:12 PM
Unknown Object (File)
Sep 9 2024, 1:26 AM
Unknown Object (File)
Sep 8 2024, 8:08 PM
Unknown Object (File)
Sep 8 2024, 7:46 AM
Unknown Object (File)
Sep 4 2024, 11:09 AM
Unknown Object (File)
Aug 28 2024, 3:54 AM
Unknown Object (File)
Aug 24 2024, 2:10 PM
Subscribers

Details

Summary

kernel.ucl uses a hardcoded boot/kernel for kldxref, which is the incorrect directory when we're installing extra kernels that aren't the "default" kernel (placed at boot/kernel).

Fix this by instead using a new %KERNELDIR% that we now replace in Makefile.inc1 with "kernel" for the default kernel and "kernel.${_kernel}" for these extra kernels so that, e.g. /boot/kernel.SHIVA, will get properly kldxref'd upon update and avoid outdated linker.hints.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable