[OE-core] [PATCH 1/2] libubootenv: Split binaries to a libubootenv-bin package

Otavio Salvador otavio at ossystems.com.br
Fri Jan 31 13:33:23 UTC 2020


The fw_setenv and fw_printenv binaries should be on a specific package
as some systems may require just the library.

The upgrade path was kept using the RPROVIDES for the -bin package.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb b/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
index 1020258cddc..f5b6059529c 100644
--- a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
+++ b/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
@@ -16,11 +16,11 @@ SRCREV = "879c0731fa0725785b9fa4499bbf6aacd04ee4c2"
 
 S = "${WORKDIR}/git"
 
-inherit cmake
+inherit cmake lib_package
 
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
 
 PROVIDES += "u-boot-fw-utils"
-RPROVIDES_${PN} += "u-boot-fw-utils"
+RPROVIDES_${PN}-bin += "u-boot-fw-utils"
 
 BBCLASSEXTEND = "native"
-- 
2.25.0



More information about the Openembedded-core mailing list