summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Zhmylev <s.zhmylev@yadro.com>2024-09-27 18:31:20 +0300
committerSteve Sakoman <steve@sakoman.com>2024-10-30 08:30:00 -0700
commitbeb0bbf9f665fed5b304a46bde6c2e87aaf1a139 (patch)
tree4d3d1bb69045107c961b625e22cd18647228b527
parent43ab6d2a04ab6d4e81b7eefd45ea8f3dd6deab14 (diff)
downloadpoky-beb0bbf9f665fed5b304a46bde6c2e87aaf1a139.tar.gz
lsb-release: fix Distro Codename shell escaping
(From OE-Core rev: bcd4e6d77dc7455a453e69b6d37769ec94cc02ad) Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7b5824c547b1348713e992a8bebd40577a0c5709) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-extended/lsb/lsb-release_1.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsb/lsb-release_1.4.bb b/meta/recipes-extended/lsb/lsb-release_1.4.bb
index 00d8183a4f..a7039ea4d1 100644
--- a/meta/recipes-extended/lsb/lsb-release_1.4.bb
+++ b/meta/recipes-extended/lsb/lsb-release_1.4.bb
@@ -29,7 +29,7 @@ do_install() {
29 echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release 29 echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release
30 echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release 30 echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release
31 if [ -n "${DISTRO_CODENAME}" ]; then 31 if [ -n "${DISTRO_CODENAME}" ]; then
32 echo "DISTRIB_CODENAME=${DISTRO_CODENAME}" >> ${D}${sysconfdir}/lsb-release 32 echo "DISTRIB_CODENAME=\"${DISTRO_CODENAME}\"" >> ${D}${sysconfdir}/lsb-release
33 fi 33 fi
34 echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release 34 echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release
35} 35}