Re: [meta-arago][master][PATCH v 1/1] tensorflow-lite: Fix file packaging for headers and symlinks
Denys Dmytriyenko <[email protected]> Fri, 1 May 2026 19:14:24 -0400
| Newsgroups | org.yoctoproject.lists.meta-arago |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 29, 2026 at 02:05:38PM +0530, Pratham Deshmukh via lists.yoct=
oproject.org wrote:
>=20
> On 27/04/26 9:05 pm, Denys Dmytriyenko wrote:
> >On Thu, Apr 23, 2026 at 01:24:08PM +0530, Pratham Deshmukh via lists.y=
octoproject.org wrote:
> >>The TensorFlow Lite recipe was missing proper packaging directives fo=
r
> >>development files, causing two issues:
> >>
> >>1. Headers installed to ${includedir} were not being packaged into an=
y
> >> specific package, resulting in missing headers in the final rootf=
s
> >> despite being built and installed correctly.
> >>
> >>2. Unversioned .so symlinks (libtensorflow-lite.so, libtensorflowlite=
.so)
> >> were incorrectly placed in the main runtime package instead of th=
e
> >> development package, triggering QA error [dev-so].
> >>
> >>Add FILES:${PN}-dev to properly assign development files:
> >> - ${includedir}/* for TensorFlow Lite headers
> >> - libdir}/lib*.so for unversioned shared library symlinks
> >>
> >>Signed-off-by: Pratham Deshmukh <[email protected]>
> >>---
> >> .../tensorflow-lite/tensorflow-lite_2.20.0.bb | 5 ++=
+++
> >> 1 file changed, 5 insertions(+)
> >>
> >>diff --git a/meta-arago-extras/recipes-framework/tensorflow-lite/tens=
orflow-lite_2.20.0.bb b/meta-arago-extras/recipes-framework/tensorflow-li=
te/tensorflow-lite_2.20.0.bb
> >>index 559ec5ef..75889b7e 100644
> >>--- a/meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-=
lite_2.20.0.bb
> >>+++ b/meta-arago-extras/recipes-framework/tensorflow-lite/tensorflow-=
lite_2.20.0.bb
> >>@@ -229,6 +229,11 @@ FILES:${PN}-tools =3D " \
> >> /opt/* \
> >> "
> >>+FILES:${PN}-dev +=3D " \
> >>+ ${includedir}/* \
> >>+ ${libdir}/lib*.so \
> >These are part of the defaults:
> >https://git.openembedded.org/openembedded-core/tree/meta/conf/bitbake.=
conf#n356
> >
> >I'm not sure your change even does anything here...
> >
> Hi Denys
>=20
> Thanks for the insights.
> Yes there's no need for these changes as it is already
>=20
> part of defaults.=A0 Also, without these changes the headers are
>=20
> included in the rootfs. So this patch can be ignored/rejected.
This part I did not understand - normally you don't want the header files=
to=20
be included in the rootfs, only into the SDK...
Can you please double-check this works as expected?
> Thanks & Regards,
> Pratham
>=20
> >>+"
> >>+
> >> FILES:python3-${PN} =3D " \
> >> ${PYTHON_SITEPACKAGES_DIR}/tflite_runtime \
> >> ${PYTHON_SITEPACKAGES_DIR}/tflite_runtime.egg-info \
> >>--=20
> >>2.34.1