From: Thomas Petazzoni Date: Sat, 17 Dec 2016 14:19:39 +0100 Subject: [Buildroot] [v2, 1/1] systemd: enable selinux if libselinux is selected. In-Reply-To: References: Message-ID: <20161217141939.7a87c3e2@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Sat, 17 Dec 2016 05:29:42 +0000, Adam Duskett wrote: > systemd currently has selinux disabled statically. This prevents > /sys/fs/selinux from being mounted automatically at boot which > causes audit to no longer function. This patch fixes the problem > by checking to see if libselinux is selected and enabling support for > selinux if so. > > Signed-off-by: Adam Duskett > --- > Changes v1 - v2: > - Added SYSTEMD_DEPENDENCIES += libselinux in the case that > libselinux was selected. Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com