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
F133640630: D14689.id.diff
Mon, Oct 27, 5:27 AM
F133640609: D14689.id40273.diff
Mon, Oct 27, 5:27 AM
F133640605: D14689.id40285.diff
Mon, Oct 27, 5:27 AM
Unknown Object (File)
Sun, Oct 26, 11:45 PM
Unknown Object (File)
Sun, Oct 26, 5:23 AM
Unknown Object (File)
Sat, Oct 25, 5:37 PM
Unknown Object (File)
Sat, Oct 25, 3:05 PM
Unknown Object (File)
Thu, Oct 16, 3:21 AM
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