meson: use jinja2 for tmpfiles.d templates

HAVE_SMACK_RUN_LABEL was dropped back in 348b44372f,
so one line in etc.conf was not rendered as expected ;(
Checking if names are defined is paying for itself!
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-05-19 10:24:43 +09:00
committed by Yu Watanabe
parent 645b2b190c
commit d924a938fe
7 changed files with 42 additions and 59 deletions
+1 -1
View File
@@ -1391,7 +1391,7 @@ int rename_and_apply_smack_floor_label(const char *from, const char *to) {
if (rename(from, to) < 0)
return -errno;
#ifdef SMACK_RUN_LABEL
#if HAVE_SMACK_RUN_LABEL
r = mac_smack_apply(to, SMACK_ATTR_ACCESS, SMACK_FLOOR_LABEL);
if (r < 0)
return r;