diff mbox series

[meta-arago,master,22/26] cifs-utils: Wrap the bbappend in a compliant manner

Message ID 20250320181047.18035-23-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Wrap bbappends in a compliant manner | expand

Commit Message

Ryan Eatmon March 20, 2025, 6:10 p.m. UTC
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>
---
 .../cifs/{cifs-utils_7.0.bbappend => cifs-utils-arago.inc}  | 2 +-
 .../recipes-support/cifs/cifs-utils_7.0.bbappend            | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
 copy meta-arago-distro/recipes-support/cifs/{cifs-utils_7.0.bbappend => cifs-utils-arago.inc} (62%)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend b/meta-arago-distro/recipes-support/cifs/cifs-utils-arago.inc
similarity index 62%
copy from meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend
copy to meta-arago-distro/recipes-support/cifs/cifs-utils-arago.inc
index c145cf63..87b49cc6 100644
--- a/meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend
+++ b/meta-arago-distro/recipes-support/cifs/cifs-utils-arago.inc
@@ -1,4 +1,4 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/cifs-utils:"
 
 SRC_URI += "file://0001-cifs-utils-Make-automake-treat-sbin-as-exec-not-data.patch"
 
diff --git a/meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend b/meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend
index c145cf63..4c9ce8db 100644
--- a/meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend
+++ b/meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend
@@ -1,4 +1,4 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += "file://0001-cifs-utils-Make-automake-treat-sbin-as-exec-not-data.patch"
+CIFS_UTILS_ARAGO = ""
+CIFS_UTILS_ARAGO:arago = "cifs-utils-arago.inc"
 
+require ${CIFS_UTILS_ARAGO}