kumquat-buildroot/support/scripts
Yann E. MORIN 377c3e5f4c support/pkg-stats: support values with an equal sign in them
The heuristic to extract the various variables of interest is pretty
crude: we filter on variables ending with certain suffixes (like
'%_VERSION' to get the version strings).

However, in doing so, we may dump variables that are not actual package
versions (especially with br2-external trees), and those may contain one
or more equal sign.  And anyway, an actual package version string may
very well contain an equal sign too.

But the current situation is that the output of 'printvars' is split on
all equal signs, which will not fit in the 2-tuple we assign the result,
thus causing an exception.

Fix that by limiting to a single split.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-13 15:00:26 +01:00
..
apply-patches.sh support/dependencies, scripts: accept patches with renames 2021-05-19 08:33:11 +02:00
boot-qemu-image.py support: fix flake8 error E741 ambiguous variable name 2021-10-18 22:31:11 +02:00
br2-external
brpkgutil.py
check-bin-arch
check-dotconfig.py support: fix flake8 error E741 ambiguous variable name 2021-10-18 22:31:11 +02:00
check-host-rpath
check-kernel-headers.sh
check-merged-usr.sh
cpedb.py support/scripts/cpedb.py: remove import pickle 2021-02-16 21:16:55 +01:00
cve.py support: utils: use python3 explicitly 2021-09-22 21:30:24 +02:00
eclipse-register-toolchain
expunge-gconv-modules
fix-configure-powerpc64.sh
fix-rpath
gen-bootlin-toolchains support/scripts/gen-bootlin-toolchains: correct xtensa-lx60 toolchain dependencies 2021-03-02 23:52:49 +01:00
gen-missing-cpe support/scripts/gen-missing-cpe: add new script 2021-05-16 13:57:38 +02:00
generate-gitlab-ci-yml support/scripts/generate-gitlab-ci-yml: allow multiple tests in one pipeline 2021-10-27 21:31:49 +02:00
genimage.sh
graph-build-time support: utils: use python3 explicitly 2021-09-22 21:30:24 +02:00
graph-depends support: utils: use python3 explicitly 2021-09-22 21:30:24 +02:00
hardlink-or-copy
mkmakefile
mkusers
pkg-stats support/pkg-stats: support values with an equal sign in them 2021-11-13 15:00:26 +01:00
pycompile.py support: utils: use python3 explicitly 2021-09-22 21:30:24 +02:00
setlocalversion
size-stats support: fix flake8 error E741 ambiguous variable name 2021-10-18 22:31:11 +02:00