freebsd-skq/release/packages
kevans 1bbebcb5fb pkgbase: Fix post-install script for kernel packages
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.

Reviewed by:	gjb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D14689
2018-03-14 14:45:57 +00:00
..
acct.ucl
acpi.ucl
amd.ucl
apm.ucl
at.ucl
autofs.ucl
bhyve.ucl
binutils.ucl
bsdinstall.ucl
bsnmp.ucl
clang.ucl
clibs.ucl
dma.ucl
docs.ucl
ee.ucl
gdb.ucl
generate-ucl.sh
groff.ucl
jail-debug.ucl
jail-development.ucl
jail-lib32-debug.ucl
jail-lib32-development.ucl
jail-lib32-profile.ucl
jail-lib32.ucl
jail-profile.ucl
jail.ucl
kernel.ucl
lld.ucl
lldb.ucl
Makefile.package
rcmds.ucl
runtime-debug.ucl
runtime-development.ucl
runtime-lib32.ucl
runtime-manuals.ucl
runtime-profile.ucl
runtime.ucl
ssh.ucl
svn.ucl
syscons.ucl
template.ucl
tests.ucl
unbound.ucl
vi.ucl