image.mk: evaluate /etc/selinux/config to choose SELinux policy
authorDaniel Golle <daniel@makrotopia.org>
Tue, 29 Sep 2020 00:46:25 +0000 (01:46 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 29 Sep 2020 00:48:27 +0000 (01:48 +0100)
commit26aa7952d539f85dd60e36a5fcc37925a9b92d65
tree0c71b84987c9bfa9901a25919a194e682ee64f3f
parent96d1dc5ebfbbf68f960610407a83423915e5e966
image.mk: evaluate /etc/selinux/config to choose SELinux policy

Instead of hardcoding 'targeted' policy, evaluate /etc/selinux/config
in rootfs to choose according to which policy files in the rootfs got
to be labeled.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/image.mk