[OE-core] [PATCH] pixbufcache.bbclass: update postinst script name

Maxin B. John maxin.john at intel.com
Tue Apr 18 11:09:51 UTC 2017


The name of postinst scripts created by pixbufcache class
contains "useradd" in it. Remove it to avoid confusion.

As suggested by RP.

Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
 meta/classes/pixbufcache.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
index aa9815c..b3e507f 100644
--- a/meta/classes/pixbufcache.bbclass
+++ b/meta/classes/pixbufcache.bbclass
@@ -57,7 +57,7 @@ SYSROOT_PREPROCESS_FUNCS_append_class-native = " pixbufcache_sstate_postinst"
 # See base.bbclass for the other half of this
 pixbufcache_sstate_postinst() {
 	mkdir -p ${SYSROOT_DESTDIR}${bindir}
-	dest=${SYSROOT_DESTDIR}${bindir}/postinst-useradd-${PN}
+	dest=${SYSROOT_DESTDIR}${bindir}/postinst-${PN}
         echo '#!/bin/sh' > $dest
 	echo "${gdkpixbuf_complete}" >> $dest
 	chmod 0755 $dest
-- 
2.4.0




More information about the Openembedded-core mailing list