summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-11 00:27:06 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-19 14:27:34 +0200
commit0bbd84e31ec8bbe8d1e28e981c577fd56c8b8664 (patch)
tree67fa887d11c60c126ab04e66f4f970e2dfb66dc0 /mkfs
parent7097dda129654a5e054c1d64e72bfd189b4964b2 (diff)
Add SELinux labeling to fstree code
Use libselinux to lookup the context attributes from a file. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
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