Fix gstreamer changing hash for different machines
cover Fix gstreamer changing hash for different machines
While working on a system with multiple BSPs, but a single distro configuration, I struggled with an issue of PR numbers increasing quickly and different behavior from boot to boot.
Most of the issues were from oe-core and similar problems. The gstreamer in oe-core has -exactly- the same code as this patch, so this is the equivalent version or meta-openembedded and the older gstreamer recipe.
This change makes sense in my configuration, but the only alternative I saw was to declare gstreamer as a MACHINE ARCH package, which I don't think we really want either. Besides I'm not clear if that would resolve the hash/ PR issue either.
Mark Hatle (1):
gstreamer: Remove machine specific append
.../recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb | 3 --- 1 file changed, 3 deletions(-)
Signature · 1 line
2.18.0
PATCH 1/1 gstreamer: Remove machine specific append
If you try to build a system with multiple BSPs, one of which is qemux86 or qemux86-64, the gstreamer package will change. This will trigger anything using gstream to also be rebuilt.
For a package based system, the PR values will also be incremented each time. The end result will be an ever growing set of PR values as well as being unable to tell which configured version of the multimedia components are really being deployed.
The solution here was to remove the rrecommend for consistency.
--- .../recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb | 3 --- 1 file changed, 3 deletions(-)
meta-multimedia/recipes-multimedia/gstreamer-0.10/gstreamer_0.10.36.bb +0 -3
@@ -45,9 +45,6 @@ oe_runconf_prepend() { # mv ${WORKDIR}/gstregistrybinary.[ch] ${S}/gst/ #} -RRECOMMENDS_${PN}_qemux86 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi" -RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi" - FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so" FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a" FILES_${PN}-dbg += " ${libdir}/gstreamer-0.10/.debug/ ${libexecdir}/gstreamer-0.10/.debug/"
Signature · 1 line
2.18.0