1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/release
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
..
amd64 Allow etdump, makefs and mkimg to be overridden. 2018-04-25 18:47:52 +00:00
arm Increase the msdosfs partition size on arm SoC images where the 2018-04-18 14:34:33 +00:00
arm64 make-memstick.sh: put partition args on separate lines 2018-04-10 19:49:04 +00:00
i386 switch i386 memstick installer images to MBR 2018-04-12 19:00:22 +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
powerpc make-memstick.sh: put partition args on separate lines 2018-04-10 19:49:04 +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 Set kldxref_enable="YES" for ARM images. Without it, the images are missing 2018-05-11 14:52:35 +00:00
Makefile Fix the reldoc target in release/Makefile following doc commit r51264. 2017-12-07 20:00:19 +00:00
Makefile.azure
Makefile.ec2 Turn on support for the Amazon "Elastic Network Adapter" in EC2 AMIs. 2017-05-25 19:02:54 +00:00
Makefile.gce Add a special GCE_LICENSE variable to Makefile.gce, which when set, 2018-05-10 21:46:58 +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
Makefile.vm Bump the size of virtual machine disk images from 20G to 30G, 2018-02-26 19:26:59 +00:00
rc.local
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