Message ID | 20250320181047.18035-5-reatmon@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Wrap bbappends in a compliant manner | expand |
diff --git a/meta-arago-distro/recipes-core/busybox/busybox_%.bbappend b/meta-arago-distro/recipes-core/busybox/busybox-arago.inc similarity index 63% copy from meta-arago-distro/recipes-core/busybox/busybox_%.bbappend copy to meta-arago-distro/recipes-core/busybox/busybox-arago.inc index 15c27a34..9b8a2963 100644 --- a/meta-arago-distro/recipes-core/busybox/busybox_%.bbappend +++ b/meta-arago-distro/recipes-core/busybox/busybox-arago.inc @@ -1,4 +1,4 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS:prepend := "${THISDIR}/busybox:" SRC_URI += " \ file://network.cfg \ diff --git a/meta-arago-distro/recipes-core/busybox/busybox_%.bbappend b/meta-arago-distro/recipes-core/busybox/busybox_%.bbappend index 15c27a34..b7a99d60 100644 --- a/meta-arago-distro/recipes-core/busybox/busybox_%.bbappend +++ b/meta-arago-distro/recipes-core/busybox/busybox_%.bbappend @@ -1,8 +1,4 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +BUSYBOX_ARAGO = "" +BUSYBOX_ARAGO:arago = "busybox-arago.inc" -SRC_URI += " \ - file://network.cfg \ - file://utils.cfg \ -" - -PR:append = ".arago22" +require ${BUSYBOX_ARAGO}
Wrap the bbappend in a yocto-check-layer compliant manner so that only if you are building this recipe under meta-arago-distro with the arago DISTRO_OVERRIDE would the bbappend apply. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- .../busybox/{busybox_%.bbappend => busybox-arago.inc} | 2 +- .../recipes-core/busybox/busybox_%.bbappend | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) copy meta-arago-distro/recipes-core/busybox/{busybox_%.bbappend => busybox-arago.inc} (63%)