Skip to content

distrodata.bbclass/distro_check.py: Fix PN mapping

Beth Flanagan openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3distrodata.bbclass/distro_check.py: Fix splitsmeta/classes/distrodata.bbclass meta/lib/oe/distro_check.py+67 -843 replies
2/3distrodata.bbclass/distro_check.py: Support -dummy mapping of PNmeta/classes/distrodata.bbclass meta/lib/oe/distro_check.py+18 -10 replies
3/3distrodata.bbclass/distro_check.py: Support buildtools PN mappingmeta/classes/distrodata.bbclass meta/lib/oe/distro_check.py+15 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] distrodata.bbclass/distro_check.py: Fix PN mapping

Last night while running distrodata, I noticed some incorrect results that had to do with how we were trying to get the mapping to the base PN name of packages.

Part of this is due to how distrodata was splitting PNs to remove nativesdk-, cross-, crosssdk-, etc. This occurred on packages that had the need to strip out multiple of these strings (nativesdk-cross- for example).

The first patch ensures that in these cases we grab the distrodate from the base PN.

The final two patches support -dummy and buildtools- packages, so that they also map.

Beth Flanagan (3):
distrodata.bbclass/distro_check.py: Fix splits distrodata.bbclass/distro_check.py: Support -dummy mapping of PN distrodata.bbclass/distro_check.py: Support buildtools PN mapping

 meta/classes/distrodata.bbclass | 127 ++++++++++++++++++++++------------------
 meta/lib/oe/distro_check.py     |  54 +++++++++--------
 2 files changed, 98 insertions(+), 83 deletions(-)
Signature · 11 lines
1.9.1

-------------------------------------------------------------
Intel Ireland Limited (Branch)
Collinstown Industrial Park, Leixlip, County Kildare, Ireland
Registered Number: E902934

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.