diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-06-04 15:31:04 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-09-04 14:30:59 -0700 |
commit | 6452692b70d2b4b24253eb40a893c474b6696833 (patch) | |
tree | 607bac8c15daba8222a33c8a70d49ce23fdf8b6c /meta-oe/recipes-dbs/postgresql/postgresql.inc | |
parent | a319e5ecdd2847f9a8f77a02a3c90c3edd06f12a (diff) | |
download | meta-openembedded-6452692b70d2b4b24253eb40a893c474b6696833.tar.gz |
postgresql: improve reproducibility
- Make pg_config not record var-CC, var-CFLAGS, and configure
which contains build paths
- Split pgxs in which Makefile.global contains build path from
package postgresql to postgresql-server-dev, it refers ubuntu
Here is we got from Ubuntu 18.04
$ dpkg -c /var/cache/apt/archives/postgresql-server-dev-10_10.8-0ubuntu0.18.04.1_amd64.deb
-rwxr-xr-x root/root 30792 2019-05-07 17:20 ./usr/lib/postgresql/10/bin/pg_config
drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/
drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/
drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/config/
drwxr-xr-x root/root 0 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/src/
-rw-r--r-- root/root 31309 2019-05-07 17:20 ./usr/lib/postgresql/10/lib/pgxs/src/Makefile.global
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/postgresql.inc')
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc index 6e2023143..0fe5d58e1 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc | |||
@@ -280,7 +280,9 @@ FILES_${PN}-timezone = "${datadir}/${BPN}/timezone \ | |||
280 | ${datadir}/${BPN}/timezonesets \ | 280 | ${datadir}/${BPN}/timezonesets \ |
281 | " | 281 | " |
282 | RDEPENDS_${PN} += "${PN}-timezone" | 282 | RDEPENDS_${PN} += "${PN}-timezone" |
283 | FILES_${PN}-server-dev = "${includedir}/${BPN}/server" | 283 | FILES_${PN}-server-dev = "${includedir}/${BPN}/server \ |
284 | ${libdir}/${BPN}/pgxs \ | ||
285 | " | ||
284 | 286 | ||
285 | FILES_libecpg = "${libdir}/libecpg*${SOLIBS}" | 287 | FILES_libecpg = "${libdir}/libecpg*${SOLIBS}" |
286 | FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \ | 288 | FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \ |