From 0bbd84e31ec8bbe8d1e28e981c577fd56c8b8664 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 11 May 2019 00:27:06 +0200 Subject: Add SELinux labeling to fstree code Use libselinux to lookup the context attributes from a file. Signed-off-by: David Oberhollenzer --- mkfs/Makemodule.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mkfs') diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am index dc105a0..33471fc 100644 --- a/mkfs/Makemodule.am +++ b/mkfs/Makemodule.am @@ -18,4 +18,8 @@ if WITH_LZ4 gensquashfs_LDADD += $(LZ4_LIBS) endif +if WITH_SELINUX +gensquashfs_LDADD += $(LIBSELINUX_LIBS) +endif + bin_PROGRAMS += gensquashfs -- cgit v1.2.3