systemd: enable selinux if libselinux is enabled
authorAdam Duskett <adamduskett@outlook.com>
Sat, 17 Dec 2016 05:29:42 +0000 (05:29 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Dec 2016 13:19:05 +0000 (14:19 +0100)
commitc14e749957d49adf2c30975a0678003419592844
tree010629baac8c929035d4d585358b799e77842bca
parent3f1c48afa52bc1bedd575a220a6ddc00259d6907
systemd: enable selinux if libselinux is enabled

systemd currently has selinux disabled unconditionally.  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 if
libselinux is enabled and enabling support for selinux in systemd if so.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/systemd.mk