aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-12-22 20:59:56 -0800
committerArmin Kuster <akuster808@gmail.com>2021-01-10 11:15:44 -0800
commit8d5dddb88589dc4a93be835d447d4416ee4da603 (patch)
tree6c718199e71e63b2c84b51e26e3bf0b2c85a8eaa /meta-oe
parent5e492d19e1007041022dfbd64819642b3068e3b1 (diff)
downloadmeta-openembedded-8d5dddb88589dc4a93be835d447d4416ee4da603.tar.gz
meta-openembedded-8d5dddb88589dc4a93be835d447d4416ee4da603.tar.bz2
meta-openembedded-8d5dddb88589dc4a93be835d447d4416ee4da603.zip
postgresql: Use /dev/urandom when openssl is not used
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit db3aab1e47268ae8e919e0b94c2021139031f76e) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 090e16f58..826bcc1e1 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -56,7 +56,7 @@ pkg_postinst_${PN} () {
enable_pam = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl"
PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"
-PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
+PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl ac_cv_file__dev_urandom=yes,openssl,"
PACKAGECONFIG[python] = "--with-python,--without-python,python3,python3"
PACKAGECONFIG[uuid] = "--with-uuid=e2fs,--without-uuid,util-linux,"
PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"