[Buildroot] [git commit] package/openssh: enable selinux ssh module for refpolicy

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 27 20:20:31 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=f647a71c4a7371d83b740f03e498ef31a28a1957
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This is needed for ssh to work with SELinux.

Signed-off-by: Adam Duskett <aduskett at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/openssh/openssh.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 75c4a0128b..4145bfd8dc 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -27,6 +27,8 @@ OPENSSH_CONF_OPTS = \
 	--disable-wtmpx \
 	--disable-strip
 
+OPENSSH_SELINUX_MODULES = ssh
+
 define OPENSSH_PERMISSIONS
 	/var/empty d 755 root root - - - - -
 endef



More information about the buildroot mailing list