[RFC,3/5] libhello: Declare provided packages

Message ID 20220225074040.20975-4-amikan@ilbers.de
State RFC
Headers show
Series Debian dependencies investigation | expand

Commit Message

Anton Mikanovich Feb. 24, 2022, 9:40 p.m. UTC
To make bitbake know about libhello-dev package provided by libhello.bb
recipe we need to add PROVIDES variable.
This allow running 'bitbake libhello-dev' without care about actual
recipe.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta-isar/recipes-app/libhello/libhello.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-isar/recipes-app/libhello/libhello.bb b/meta-isar/recipes-app/libhello/libhello.bb
index 5c44de5..c7f1fe4 100644
--- a/meta-isar/recipes-app/libhello/libhello.bb
+++ b/meta-isar/recipes-app/libhello/libhello.bb
@@ -10,6 +10,8 @@  LIC_FILES_CHKSUM = "file://${LAYERDIR_core}/licenses/COPYING.GPLv2;md5=751419260
 
 PV = "0.1-98f2e41"
 
+PROVIDES = "libhello-dev"
+
 SRC_URI = "git://github.com/ilbers/libhello.git;protocol=https;destsuffix=${P}"
 SRCREV = "98f2e41e7d05ab8d19b0c5d160b104b725c8fd93"