Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2025 20:16:41 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 313204024723 - main - flua: don't build libjail into the bootstrap flua
Message-ID:  <202510032016.593KGffe043260@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=31320402472394af57eb3a36bee7f944117ca0ed

commit 31320402472394af57eb3a36bee7f944117ca0ed
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-10-03 20:16:30 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-10-03 20:16:30 +0000

    flua: don't build libjail into the bootstrap flua
    
    Other systems don't have jail support, and we won't be using it anyways.
---
 libexec/flua/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile
index b43b31298205..0d1841f8c3bd 100644
--- a/libexec/flua/Makefile
+++ b/libexec/flua/Makefile
@@ -9,7 +9,11 @@
 FLUA_MODULES+=	lfbsd
 FLUA_MODULES+=	lfs
 FLUA_MODULES+=	libhash
+.ifndef BOOTSTRAPPING
+# Bootstrap flua can't usefully do anything with libjail anyways, because it
+# can't assume it's being run on a system that even supports jails.
 FLUA_MODULES+=	libjail
+.endif
 FLUA_MODULES+=	libucl
 FLUA_MODULES+=	liblyaml
 FLUA_MODULES+=	lposix



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510032016.593KGffe043260>