Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/lxc: add libapparmor optional dependency
@ 2025-01-29 19:46 Ian Merin via buildroot
  2025-02-05 14:33 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Merin via buildroot @ 2025-01-29 19:46 UTC (permalink / raw)
  To: buildroot@buildroot.org; +Cc: jezz@sysmic.org


[-- Attachment #1.1: Type: text/plain, Size: 1399 bytes --]

From e56f77419a6516fef7f63746120755400948e5d3 Mon Sep 17 00:00:00 2001
From: Ian Merin <Ian.Merin@ncipher.com>
Date: Wed, 29 Jan 2025 11:15:20 -0500
Subject: [PATCH] package/lxc: add libapparmor optional dependency

Signed-off-by: Ian Merin <Ian.Merin+Entrust@ncipher.com>
---
package/lxc/lxc.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index b2afb978e6..d2227c3760 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -13,7 +13,6 @@ LXC_DEPENDENCIES = host-pkgconf
LXC_INSTALL_STAGING = YES

LXC_CONF_OPTS = \
-       -Dapparmor=false \
       -Dexamples=false \
       -Dman=false

@@ -21,6 +20,13 @@ ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
LXC_DEPENDENCIES += bash-completion
endif

+ifeq ($(BR2_PACKAGE_APPARMOR),y)
+LXC_CONF_OPTS += -Dapparmor=true
+LXC_DEPENDENCIES += libapparmor
+else
+LXC_CONF_OPTS += -Dapparmor=false
+endif
+
ifeq ($(BR2_PACKAGE_LIBCAP),y)
LXC_CONF_OPTS += -Dcapabilities=true
LXC_DEPENDENCIES += libcap
--
2.25.1
Any email and files/attachments transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. If this message has been sent to you in error, you must not copy, distribute or disclose of the information it contains. Please notify Entrust immediately and delete the message from your system.


[-- Attachment #1.2: Type: text/html, Size: 4311 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-05 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 19:46 [Buildroot] [PATCH] package/lxc: add libapparmor optional dependency Ian Merin via buildroot
2025-02-05 14:33 ` Thomas Petazzoni via buildroot
2025-02-05 14:49   ` [Buildroot] [EXTERNAL] " Ian Merin via buildroot
2025-02-05 15:00     ` Thomas Petazzoni
2025-02-05 15:19       ` Ian Merin via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox