openssl: Handle -conf package file conflicts

The configuration files from 1.0 and 1.1 conflict:

"""
file /etc/ssl/openssl.cnf conflicts between attempted installs of openssl10-conf-1.0.2p-r0.i586 and openssl-conf-1.1.1+pre9-r0.i586
"""

Ensure that if 1.1 is present, it will overwrite the config file
from 1.0.

(From OE-Core rev: bd92ff5759809df2542ce1bcba2c45bbd11d1e10)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2018-08-31 15:23:11 +01:00
parent 0892e449a5
commit a842b02a87

View File

@@ -175,4 +175,8 @@ RDEPENDS_${PN}-bin = "perl"
RDEPENDS_${PN}-misc = "perl"
RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash python"
RPROVIDES_openssl-conf = "openssl10-conf"
RREPLACES_openssl-conf = "openssl10-conf"
RCONFLICTS_openssl-conf = "openssl10-conf"
BBCLASSEXTEND = "native nativesdk"