diff options
| author | Sergei Zhmylev <s.zhmylev@yadro.com> | 2024-09-27 18:31:20 +0300 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-10-29 05:51:03 -0700 |
| commit | 034931764d7afd063cae397290ad702122fe649f (patch) | |
| tree | 99858345a7014a47d9c289c8e9244d07b07c6d58 /meta/recipes-extended | |
| parent | 5d72a3a770b7c41da831fa09d28ec0cb0facbf19 (diff) | |
| download | poky-034931764d7afd063cae397290ad702122fe649f.tar.gz | |
lsb-release: fix Distro Codename shell escaping
(From OE-Core rev: 168bed0e3d339ec75973faa682d47269ec96d599)
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>
Diffstat (limited to 'meta/recipes-extended')
| -rw-r--r-- | meta/recipes-extended/lsb/lsb-release_1.4.bb | 2 |
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 | } |
