Skip to contentSkip to conversation

pixbufcache.bbclass: update postinst script name

PATCH New Maxin B. John 1 participant 1 message Apr 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pixbufcache.bbclass: update postinst script name

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

As suggested by RP.

---
 meta/classes/pixbufcache.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/pixbufcache.bbclass +1 -1
index aa9815c..b3e507f 100644
@@ -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
Signature · 1 line
2.4.0