Does building linux packages under poudriere require linux compatibility emulation?
Timon
timon at timon.net.nz
Sat Jan 14 22:26:39 UTC 2017
On 14/01/2017 03:07, Mark Martinec wrote:
> Does building such packages really require linuxilator configured
> on the build host ???
No, it doesn't require linuxulator to be configured, but require
linux.ko (and linux64.ko if your host is amd64) to be loaded. Poudriere
load linux.ko, but doesn't load linux64. Try this patch:
--- /usr/local/share/poudriere/common.sh.orig
+++ /usr/local/share/poudriere/common.sh
@@ -1686,6 +1686,9 @@ jail_start() {
if [ "${arch}" = "i386" -o "${arch}" = "amd64" ]; then
needfs="${needfs} linprocfs"
sysctl -n compat.linux.osrelease >/dev/null
2>&1 || kldload linux
+ if [ "${arch}" = "amd64" ]; then
+ kldload linux64
+ fi
fi
fi
[ -n "${USE_TMPFS}" ] && needfs="${needfs} tmpfs"
--
Aleksandr Matveev
More information about the freebsd-ports
mailing list