From 1b4554dfd7945d8c168c6c1815e9969d89176e02 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Fri, 30 Aug 2019 19:35:03 -0700 Subject: busybox: fix sig changes when layer added Signed-off-by: Armin Kuster --- recipes-core/busybox/busybox_%.bbappend | 4 +--- recipes-core/busybox/busybox_libsecomp.inc | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 recipes-core/busybox/busybox_libsecomp.inc diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend index 8bb0706..27a2482 100644 --- a/recipes-core/busybox/busybox_%.bbappend +++ b/recipes-core/busybox/busybox_%.bbappend @@ -1,3 +1 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://head.cfg" +require ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'busybox_libsecomp.inc', '', d)} diff --git a/recipes-core/busybox/busybox_libsecomp.inc b/recipes-core/busybox/busybox_libsecomp.inc new file mode 100644 index 0000000..4af22ce --- /dev/null +++ b/recipes-core/busybox/busybox_libsecomp.inc @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/busybox:" + +SRC_URI_append = " file://head.cfg" -- cgit v1.2.3-54-g00ecf