Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/9] package/libselinux: enable kernel selinux support for erofs images
Date: Fri, 31 Jul 2020 13:40:53 -0700	[thread overview]
Message-ID: <20200731204100.1171427-3-aduskett@gmail.com> (raw)
In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com>

From: Adam Duskett <Aduskett@gmail.com>

If BR2_TARGET_ROOTFS_EROFS is selected, enable the following kernel options:
  - CONFIG_EROFS_FS_XATTR
  - CONFIG_EROFS_FS_SECURITY

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/libselinux/libselinux.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk
index 521dbaaba8..b8f9c3b55a 100644
--- a/package/libselinux/libselinux.mk
+++ b/package/libselinux/libselinux.mk
@@ -112,6 +112,9 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX)
 	$(call KCONFIG_SET_OPT,CONFIG_LSM,"selinux")
+	$(if $(BR2_TARGET_ROOTFS_EROFS),
+		$(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR)
+		$(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY))
 endef
 
 $(eval $(generic-package))
-- 
2.26.2

  parent reply	other threads:[~2020-07-31 20:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31 20:40 [Buildroot] [PATCH 0/9] package/libselinux: kernel munging fixups aduskett at gmail.com
2020-07-31 20:40 ` [Buildroot] [PATCH 1/9] package/libselinux: set the config_lsm kernel config option to selinux aduskett at gmail.com
2020-07-31 20:40 ` aduskett at gmail.com [this message]
2020-07-31 20:40 ` [Buildroot] [PATCH 3/9] package/libselinux: enable kernel selinux support for ext2 images aduskett at gmail.com
2020-07-31 20:40 ` [Buildroot] [PATCH 4/9] package/libselinux: enable kernel selinux support for ext3 images aduskett at gmail.com
2020-07-31 20:40 ` [Buildroot] [PATCH 5/9] package/libselinux: enable kernel selinux support for ext4 images aduskett at gmail.com
2020-07-31 20:40 ` [Buildroot] [PATCH 6/9] package/libselinux: enable kernel selinux support for f2fs images aduskett at gmail.com
2020-07-31 20:40 ` [Buildroot] [PATCH 7/9] package/libselinux: enable kernel selinux support for jffs2 images aduskett at gmail.com
2020-07-31 20:40 ` [Buildroot] [PATCH 8/9] package/libselinux: enable kernel selinux support for squashfs images aduskett at gmail.com
2020-07-31 20:41 ` [Buildroot] [PATCH 9/9] package/libselinux: enable kernel selinux support for ubifs images aduskett at gmail.com
2020-09-04 13:48 ` [Buildroot] [PATCH 0/9] package/libselinux: kernel munging fixups Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200731204100.1171427-3-aduskett@gmail.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox