Load linux64 module for amd64 if Linux abi enabled.
Reviewed by: emaste@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D5567
This commit is contained in:
parent
fe007faa49
commit
7b68aa7b6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296542
@ -27,6 +27,11 @@ linux_start()
|
||||
|
||||
echo -n ' linux'
|
||||
load_kld -e 'linux(aout|elf)' linux
|
||||
case `sysctl -n hw.machine_arch` in
|
||||
amd64)
|
||||
load_kld -e 'linux64elf' linux64
|
||||
;;
|
||||
esac
|
||||
if [ -x /compat/linux/sbin/ldconfigDisabled ]; then
|
||||
_tmpdir=`mktemp -d -t linux-ldconfig`
|
||||
/compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache
|
||||
|
Loading…
Reference in New Issue
Block a user