summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/scrape-html-report.js
diff options
context:
space:
mode:
authorDaniel Wagenknecht <dwagenknecht@emlix.com>2025-09-22 10:02:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-06 17:01:10 +0100
commita7703e1cb67de72188adcaf155546c671d99ac77 (patch)
treeec4f414f8502ef0c48f4130c5edf46ed59ae64b7 /scripts/lib/build_perf/scrape-html-report.js
parent505503ad2e3b44d785191cceed53c324b7d8f717 (diff)
downloadpoky-a7703e1cb67de72188adcaf155546c671d99ac77.tar.gz
os-release: do not add empty parentheses to VERSION
Setting DISTRO_CODENAME to an empty string previously led to a VERSION field in /etc/os-release containing empty parantheses, e.g. DISTRO_VERSION = "5.0.12" DISTRO_CODENAME = "" ==> VERSION = "5.0.12 ()" This is probably not what a user expects, especially since it is quite common to set variables to empty strings to disable something in OE based builds, but using `unset VARNAME` seems pretty uncommon. Instead of adding the parentheses with the DISTRO_CODENAME if the variable is in the datastore add them only if the variable is not empty. (From OE-Core rev: 4d8eaa0fc108a478c78faff3783441145158b395) Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/scrape-html-report.js')
0 files changed, 0 insertions, 0 deletions