[OE-core] [PATCH] pseudo: Make it possible to override the append in a bbappend

Fabrice Coulon fabrice.coulon at axis.com
Wed Dec 2 13:22:36 UTC 2015


I need this in order to avoid a conflict when used with
base-passwd-native.

Signed-off-by: Fabrice Coulon <fabrice.coulon at axis.com>
---
 meta/recipes-devtools/pseudo/pseudo_1.7.4.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/pseudo/pseudo_1.7.4.bb b/meta/recipes-devtools/pseudo/pseudo_1.7.4.bb
index d68e0af..87e624e 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.7.4.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.7.4.bb
@@ -11,9 +11,13 @@ SRC_URI[sha256sum] = "f33ff84da328f943155f22cfd49030ef4ad85ad35fc2d9419a203521b6
 
 PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback"
 
-do_install_append_class-native () {
+append_class_native() {
 	install -d ${D}${sysconfdir}
 	# The fallback files should never be modified
 	install -m 444 ${WORKDIR}/fallback-passwd ${D}${sysconfdir}/passwd
 	install -m 444 ${WORKDIR}/fallback-group ${D}${sysconfdir}/group
 }
+
+do_install_append_class-native () {
+	append_class_native
+}
-- 
1.9.1




More information about the Openembedded-core mailing list