freebsd-dev/release
Kyle Evans fb6d3be5db 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
..
amd64 Add general configuration files used by release/release.sh for 2017-11-17 18:00:52 +00:00
arm Sort variables for consistency. 2017-11-17 17:36:45 +00:00
arm64 Put the pine64 root filesystem on teh correct partition. 2018-02-16 16:22:54 +00:00
i386 Add general configuration files used by release/release.sh for 2017-11-17 18:00:52 +00:00
packages pkgbase: Fix post-install script for kernel packages 2018-03-14 14:45:57 +00:00
picobsd spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
pkg_repos Update the pkg-stage target to be more compatible with pkg-1.2: 2014-01-16 16:12:09 +00:00
powerpc After removal of loader.ps3, change petitboot configuration in release media 2018-01-01 03:33:01 +00:00
scripts Change installer default to not install ports tree 2018-01-30 16:34:56 +00:00
sparc64 Add general configuration files used by release/release.sh for 2017-11-17 18:00:52 +00:00
tools Make EC2 instances use Amazon's NTP service for time synchronization. 2017-12-05 09:22:14 +00:00
Makefile Fix the reldoc target in release/Makefile following doc commit r51264. 2017-12-07 20:00:19 +00:00
Makefile.azure Remove the HH-MM suffix from the build date suffix. 2015-07-01 14:51:26 +00:00
Makefile.ec2 Turn on support for the Amazon "Elastic Network Adapter" in EC2 AMIs. 2017-05-25 19:02:54 +00:00
Makefile.gce Fix GCE image publication. The gcutil utility is deprecated in favor 2016-08-05 19:00:45 +00:00
Makefile.mirrors Update the GUMSTIX image build to use arm/arm TARGET/TARGET_ARCH. 2017-11-13 19:31:51 +00:00
Makefile.vagrant Add some comments with examples on how to build Vagrant images. 2017-02-01 16:15:23 +00:00
Makefile.vm Bump the size of virtual machine disk images from 20G to 30G, 2018-02-26 19:26:59 +00:00
rc.local Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
release.conf.sample Correct a comment after r326330. 2017-11-28 18:08:14 +00:00
release.sh Bump Copyright year following r328283. 2018-01-23 16:48:31 +00:00