Fix distro_check when a distro list cannot be fetched
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/oe/distro_check: skip a distro whose package list can't be fetchedmeta/ | +1 | 0 replies | |
| 2/3 | lib/oe/distro_check: fetch Debian updates from stable-updatesmeta/ | +5 | 0 replies | |
| 3/3 | oeqa/selftest/oelib: add tests for oe.distro_checkmeta/ | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fix distro_check when a distro list cannot be fetched
create_distro_packages_list() in meta/lib/oe/distro_check.py writes no package lists at all at the moment: the Debian list always fails, and any failed distro then crashes the loop with UnboundLocalError.
1: Skip a distro whose package list can't be fetched.
2: ftp.debian.org no longer has dists/stable-proposed-updates. Read
Debian updates from stable-updates instead, which is only published as Sources.xz.
3: Offline oe-selftest tests (oelib.distro_check) for both.
Nothing in OE-Core has used oe.distro_check since distrodata.bbclass was removed in 2018, but the Recipe Reporting System on the layer index still does (rrs_distros.py), to show which distros package each recipe, and it has been broken by this.
[YOCTO #16503]
Tim Orling (3):
lib/oe/distro_check: skip a distro whose package list can't be fetched lib/oe/distro_check: fetch Debian updates from stable-updates oeqa/selftest/oelib: add tests for oe.distro_check
meta/lib/oe/distro_check.py | 9 ++- .../oeqa/selftest/cases/oelib/distro_check.py | 59 +++++++++++++++++++ 2 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 meta/lib/oeqa/selftest/cases/oelib/distro_check.py
Signature · 1 line
2.56.1