aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-12-22 16:17:24 +0000
committerArmin Kuster <akuster808@gmail.com>2019-12-25 16:04:27 +0000
commit41506052f65a67312119030ec178c8f7f6304dd3 (patch)
tree9eaa38f1094e484bf5f6c9de0ff801f1e3c38519
parent6b42f1c03376d4665df64cbfef0611ca32a0c22e (diff)
downloadmeta-security-41506052f65a67312119030ec178c8f7f6304dd3.tar.gz
meta-security-41506052f65a67312119030ec178c8f7f6304dd3.tar.bz2
meta-security-41506052f65a67312119030ec178c8f7f6304dd3.zip
smack-test: add feature check for smack
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-mac/smack/smack-test_1.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-mac/smack/smack-test_1.0.bb b/recipes-mac/smack/smack-test_1.0.bb
index 7cf8f2e..d5de607 100644
--- a/recipes-mac/smack/smack-test_1.0.bb
+++ b/recipes-mac/smack/smack-test_1.0.bb
@@ -12,6 +12,10 @@ SRC_URI = " \
S = "${WORKDIR}"
+inherit features_check
+
+REQUIRED_DISTRO_FEATURES = "smack"
+
do_install() {
install -d ${D}${sbindir}
install -m 0755 notroot.py ${D}${sbindir}