aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2023-06-06 15:46:13 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-06-15 06:27:04 +0000
commit85630afebc0ee274b2183301ab6985dd67597525 (patch)
treefb9ad8085ad91ccc9e331bbc91e108efbf25dae3
parent265718d2b4b4180fd51a62b7277f1bc787e5f85b (diff)
qbsp: add Yocto version information to QBSP
Show the Yocto version information in the online installer. Change-Id: Idcbb3632e6e4158e560237d899bc16a0a7fa0676 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> (cherry picked from commit 4556d3576245d93c0e174444cedbafeb275fa7c2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--meta-boot2qt/classes/qbsp.bbclass1
-rw-r--r--meta-boot2qt/files/qbsp/base_package.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta-boot2qt/classes/qbsp.bbclass b/meta-boot2qt/classes/qbsp.bbclass
index 71452618..d2efc89f 100644
--- a/meta-boot2qt/classes/qbsp.bbclass
+++ b/meta-boot2qt/classes/qbsp.bbclass
@@ -102,6 +102,7 @@ patch_installer_files() {
-e "s#@TOOLCHAIN_HOST_TYPE@#${TOOLCHAIN_HOST_TYPE}#" \
-e "s#@DOCKER_ARCH@#${@'arm64' if d.getVar('SDKMACHINE') == 'aarch64' else 'amd64'}#" \
-e "s#@VERSION@#${PV}#" \
+ -e "s#@YOCTO@#${DISTRO_VERSION} (${DISTRO_CODENAME})#" \
-i ${1}/*
}
diff --git a/meta-boot2qt/files/qbsp/base_package.xml b/meta-boot2qt/files/qbsp/base_package.xml
index ecb37b68..815984c5 100644
--- a/meta-boot2qt/files/qbsp/base_package.xml
+++ b/meta-boot2qt/files/qbsp/base_package.xml
@@ -3,7 +3,7 @@
<Version>@QBSP_VERSION@</Version>
<ReleaseDate>@RELEASEDATE@</ReleaseDate>
<DisplayName>@TARGET@</DisplayName>
- <Description>@NAME@ for @TARGET@</Description>
+ <Description>@NAME@ for @TARGET@.&lt;br&gt;Based on Yocto @YOCTO@ release.</Description>
<Dependencies>@LICENSEDEPENDENCY@</Dependencies>
<Script>installscript.qs</Script>
<Default>false</Default>