[oe-commits] [meta-openembedded] 25/32: php-native: eliminate SSTATEPOSTINSTFUNCS use

git at git.openembedded.org git at git.openembedded.org
Tue Jan 16 16:02:40 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit c4cc5760b1f3f6049078c51e944b3e8c27f9f338
Author: Joe Slater <jslater at windriver.com>
AuthorDate: Wed Jan 10 12:21:07 2018 -0800

    php-native: eliminate SSTATEPOSTINSTFUNCS use
    
    The use of SSTATEPOSTINSTFUNCS has been deprecated and is not
    needed for php-native.  The current function always fails, forcing
    a re-build of php-native.
    
    Signed-off-by: Joe Slater <jslater at windriver.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-devtools/php/php.inc | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 283d630..e466cda 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -253,18 +253,6 @@ do_install_append_class-native() {
         PHP_PEAR_SYSCONF_DIR=${sysconfdir}/
 }
 
-SSTATEPOSTINSTFUNCS_append_class-native = " php_sstate_postinst "
-
-php_sstate_postinst() {
-    if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
-    then
-        head -n1 ${sysconfdir}/pear.conf > ${sysconfdir}/pear.tmp.conf
-        for p in `tail -n1  ${sysconfdir}/pear.conf | sed -s 's/;/ /g'`; do
-            echo $p | awk -F: 'BEGIN {OFS = ":"; ORS = ";"}{if(NF==3){print $1, length($3)-2*match($3, /^"/), $3} else {print $0}}';
-        done >> ${sysconfdir}/pear.tmp.conf
-        mv -f ${sysconfdir}/pear.tmp.conf ${sysconfdir}/pear.conf
-    fi
-}
 
 # Fails to build with thumb-1 (qemuarm)
 # | {standard input}: Assembler messages:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list