apparmor: add distro check
PATCH 1/2 apparmor: add distro check
Signed-off-by Armin Kuster <[email protected]>
--- recipes-mac/AppArmor/apparmor_2.13.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-mac/AppArmor/apparmor_2.13.3.bb +2 -1
@@ -30,7 +30,8 @@ S = "${WORKDIR}/git" PARALLEL_MAKE = "" -inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages systemd +inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages systemd features_check +REQUIRED_DISTRO_FEATURES = "apparmor" PACKAGECONFIG ??= "python perl aa-decode" PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages"
Signature · 1 line
2.17.1
PATCH 2/2 smack: add distro check
Signed-off-by Armin Kuster <[email protected]>
--- recipes-mac/smack/smack_1.3.1.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-mac/smack/smack_1.3.1.bb +6 -1
@@ -13,7 +13,12 @@ SRC_URI = " \ PV = "1.3.1" -inherit autotools update-rc.d pkgconfig ptest ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} +inherit autotools update-rc.d pkgconfig ptest +inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} +inherit features_check + +REQUIRED_DISTRO_FEATURES = "smack" + S = "${WORKDIR}/git"
Signature · 1 line
2.17.1