mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
hiredis: set rdepends on virtual-redis
Now hiredis can be used not only with Redis, but also with Valkey, an open source key/value datastore that is fully compatible with Redis. As Redis changed its license, many users have switched to Valkey. Add RPROVIDES virtual-redis in both redis and valkey, and set it as the runtime dependency of hiredis. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c08b0046f4
commit
59b904920b
|
|
@ -60,6 +60,7 @@ PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
|
|||
PREFERRED_PROVIDER_coreutils = "coreutils"
|
||||
PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
|
||||
PREFERRED_RPROVIDER_virtual-opencl-icd ?= "opencl-icd-loader"
|
||||
PREFERRED_RPROVIDER_virtual-redis ?= "redis"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
fbset-modes \
|
||||
|
|
|
|||
|
|
@ -35,5 +35,5 @@ do_install_ptest() {
|
|||
|
||||
FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build"
|
||||
|
||||
RDEPENDS:${PN} = "redis"
|
||||
RDEPENDS:${PN} = "virtual-redis"
|
||||
RDEPENDS:${PN}-ptest = "${@bb.utils.contains('PACKAGECONFIG', 'testssl', 'openssl-bin', '', d)}"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
|
|||
|
||||
SRC_URI[sha256sum] = "72c081e3b8cfae7144273d26d76736f08319000af46c01515cad5d29765cead5"
|
||||
|
||||
RPROVIDES:${PN} = "virtual-redis"
|
||||
|
||||
inherit autotools-brokensep pkgconfig update-rc.d systemd useradd
|
||||
|
||||
FINAL_LIBS:x86:toolchain-clang = "-latomic"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ SRCREV = "d6a2f561e2751d4ab246ad084e4fa185526fa479"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RPROVIDES:${PN} = "virtual-redis"
|
||||
|
||||
inherit autotools-brokensep pkgconfig update-rc.d systemd useradd
|
||||
|
||||
FINAL_LIBS:x86:toolchain-clang = "-latomic"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user