diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-24 23:48:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-28 23:49:38 +0100 |
commit | ddbd90a37c7e9089aaeccb42dd008cf47594099b (patch) | |
tree | f218d3eb4278f7e43b4ca72af66374246d83d0c6 /meta | |
parent | 73cf55cdde1f3d2773b42f52d2fcf57665102c81 (diff) | |
download | poky-ddbd90a37c7e9089aaeccb42dd008cf47594099b.tar.gz |
bitbake.conf: Change -dev RDEPENDS to RRECOMMENDS
Switch the default DEPENDS for ${PN}-dev to be a RRECOMMENDS instead. This
takes advantage of a change to complmentary package globbing to not follow
RRECOMMENDS and means and SDK for an image with both openssh and dropbear
compoments will now build successfully.
(From OE-Core rev: 6f28420ab0e8f2ab5eb06326024777a40aded0a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/bitbake.conf | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/oescripts.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 40a893fe1c..1d36aae8b3 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -350,7 +350,7 @@ FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \ | |||
350 | SECTION:${PN}-dev = "devel" | 350 | SECTION:${PN}-dev = "devel" |
351 | ALLOW_EMPTY:${PN}-dev = "1" | 351 | ALLOW_EMPTY:${PN}-dev = "1" |
352 | DEV_PKG_DEPENDENCY = "${PN} (= ${EXTENDPKGV})" | 352 | DEV_PKG_DEPENDENCY = "${PN} (= ${EXTENDPKGV})" |
353 | RDEPENDS:${PN}-dev = "${DEV_PKG_DEPENDENCY}" | 353 | RRECOMMENDS:${PN}-dev = "${DEV_PKG_DEPENDENCY}" |
354 | 354 | ||
355 | FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a" | 355 | FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a" |
356 | SECTION:${PN}-staticdev = "devel" | 356 | SECTION:${PN}-staticdev = "devel" |
diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index bd84f151cb..d3a789a6a7 100644 --- a/meta/lib/oeqa/selftest/cases/oescripts.py +++ b/meta/lib/oeqa/selftest/cases/oescripts.py | |||
@@ -21,7 +21,7 @@ class BuildhistoryDiffTests(BuildhistoryBase): | |||
21 | pkgv = result.output.rstrip() | 21 | pkgv = result.output.rstrip() |
22 | result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR')) | 22 | result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR')) |
23 | expected_endlines = [ | 23 | expected_endlines = [ |
24 | "xcursor-transparent-theme-dev: RDEPENDS: removed \"xcursor-transparent-theme (['= %s-r1'])\", added \"xcursor-transparent-theme (['= %s-r0'])\"" % (pkgv, pkgv), | 24 | "xcursor-transparent-theme-dev: RRECOMMENDS: removed \"xcursor-transparent-theme (['= %s-r1'])\", added \"xcursor-transparent-theme (['= %s-r0'])\"" % (pkgv, pkgv), |
25 | "xcursor-transparent-theme-staticdev: RDEPENDS: removed \"xcursor-transparent-theme-dev (['= %s-r1'])\", added \"xcursor-transparent-theme-dev (['= %s-r0'])\"" % (pkgv, pkgv) | 25 | "xcursor-transparent-theme-staticdev: RDEPENDS: removed \"xcursor-transparent-theme-dev (['= %s-r1'])\", added \"xcursor-transparent-theme-dev (['= %s-r0'])\"" % (pkgv, pkgv) |
26 | ] | 26 | ] |
27 | for line in result.output.splitlines(): | 27 | for line in result.output.splitlines(): |