Restrict smack dependency on coreutil to runtime 67/22767/1
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Thu, 31 Oct 2019 14:40:59 +0000 (14:40 +0000)
committerRonan Le Martret <ronan.lemartret@iot.bzh>
Thu, 31 Oct 2019 14:40:59 +0000 (14:40 +0000)
- avoid build cycle dependency in yocto zeus

Bug-AGL: SPEC-2932

Change-Id: Icfcc59d873cb75213a50547f5b7d70888dbe41bc
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-security/recipes-core/coreutils/coreutils_%.bbappend

index ceaf6a2..1b9b722 100644 (file)
@@ -1,7 +1,7 @@
 # Smack patches are included in coreutils v8.22, we just need to enable them.
 # The default is not deterministic (enabled if libsmack found), so disable
 # explicitly otherwise.
-EXTRA_OECONF_SMACK = "--disable-libsmack"
-EXTRA_OECONF_SMACK_with-lsm-smack = "--enable-libsmack"
-EXTRA_OECONF_append = " ${EXTRA_OECONF_SMACK}"
-DEPENDS_append_with-lsm-smack = " smack"
+EXTRA_OECONF_SMACK_class-target = "--disable-libsmack"
+EXTRA_OECONF_SMACK_with-lsm-smack_class-target = "--enable-libsmack"
+EXTRA_OECONF_append_class-target = " ${EXTRA_OECONF_SMACK}"
+DEPENDS_append_with-lsm-smack_class-target = " smack"