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.

(From OE-Core rev: 2b939cd143549a3a6fc640c7c512c4ac5c246bff)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Maxin B. John 2017-04-18 14:09:51 +03:00 committed by Richard Purdie
parent 7fe30a5df4
commit 4c6d7a20bc
1 changed files with 1 additions and 1 deletions

View File

@ -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