summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-05-22 10:00:29 +0800
committerKhem Raj <raj.khem@gmail.com>2018-05-26 21:10:55 -0700
commit3205d00170229d9d8a7cb4a1304c971f88038c35 (patch)
treef8bb5223fb11d144d6583c7e972bc2eea41b0f9c /meta-oe
parentd194fe97242dede5dd7b1963a677797d913e75c3 (diff)
downloadmeta-openembedded-3205d00170229d9d8a7cb4a1304c971f88038c35.tar.gz
postgresql: remove *_config from SSTATE_SCAN_FILES
It fails to run command pg_config with segment fault. The root cause is function sstate_hardcode_path takes elf file pg_config as a configure file and edits it with 'sed'. And then file pg_config is corrupt: $ readelf -a package/usr/bin/pg_config >/dev/null readelf: Error: Unable to read in 0x700 bytes of section headers readelf: Error: Section headers are not available! There is not other '*_config' file installed by postgresql except pg_config, so remove '*_config' from SSTATE_SCAN_FILES for postgresql. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 5462332c5..1301060ee 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -202,6 +202,7 @@ do_install_append() {
202} 202}
203 203
204SSTATE_SCAN_FILES += "Makefile.global" 204SSTATE_SCAN_FILES += "Makefile.global"
205SSTATE_SCAN_FILES_remove = "*_config"
205 206
206PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \ 207PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
207 libecpg-compat-dbg libecpg-compat libecpg-compat-dev \ 208 libecpg-compat-dbg libecpg-compat libecpg-compat-dev \