freebsd-nq/release/tools
Edward Tomasz Napierala 896eb70c80 Set kldxref_enable="YES" for ARM images. Without it, the images are missing
the /boot/kernel/linker.hints file, which breaks loading some of the modules
with dependencies, eg cfiscsi.ko.

This is a minimal fix for ARM images, in order to safely MFC it before
11.2-RELEASE.  Afterwards, however, I believe we should actually just change
the default (as in, etc/defaults/rc.conf).  The reason is that it's required
for every image that's being cross-built, as kldxref(1) cannot handle files
for non-native architectures.  For the one that is not - amd64 - having it
on by default doesn't change anything - the script is noop if the linker.hints
already exists.

The long-term solution would be to rewrite kldxref(1) to handle other
architectures, and generate linker.hints at build time.

Reviewed by:	gjb@
MFC after:	3 days
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14534
2018-05-11 14:52:35 +00:00
..
arm.subr Set kldxref_enable="YES" for ARM images. Without it, the images are missing 2018-05-11 14:52:35 +00:00
azure.conf Chase r284656 and r284658: 2015-06-21 04:34:57 +00:00
ec2.conf Move debug.{trace,debugger}_on_panic and kern.panic_reboot_wait_time in 2018-04-18 05:58:27 +00:00
gce.conf Fix a typo. 2018-05-04 21:17:29 +00:00
openstack.conf - Resize FreeBSD to the size of the OpenStack flavor (growfs). 2016-12-14 03:01:15 +00:00
vagrant-virtualbox.conf Remove /etc/resolv.conf from virtual machine images, which is 2017-11-21 18:02:18 +00:00
vagrant-vmware.conf Remove /etc/resolv.conf from virtual machine images, which is 2017-11-21 18:02:18 +00:00
vagrant.conf Fix an out-of-order execution issue regarding pkg(8): 2015-07-21 03:18:53 +00:00
vmimage.subr Fix an indentation nit. 2017-11-30 20:52:01 +00:00