aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2018-01-10 12:21:07 -0800
committerArmin Kuster <akuster808@gmail.com>2018-01-16 21:41:26 -0800
commit1c15f75b3400b903e1eb49b892745b8d7592fd15 (patch)
tree8700609046e757d0c144a6457e1df58d05ff9a5d
parentba31356ed78b83a8949f40de52bceca90ac51107 (diff)
downloadmeta-openembedded-contrib-1c15f75b3400b903e1eb49b892745b8d7592fd15.tar.gz
meta-openembedded-contrib-1c15f75b3400b903e1eb49b892745b8d7592fd15.tar.bz2
meta-openembedded-contrib-1c15f75b3400b903e1eb49b892745b8d7592fd15.zip
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@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/php/php.inc12
1 files changed, 0 insertions, 12 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 283d630f63..e466cdaf61 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: