diff options
| author | Sergei Zhmylev <s.zhmylev@yadro.com> | 2024-09-27 18:31:20 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:07:18 +0100 |
| commit | 3d0289bca26b008a0ee272d3c0e2c21822308e6b (patch) | |
| tree | 185a0e8e03ca5c4d5e483254848f5c85425eed8c | |
| parent | 87be7fbf7a5a9730ea917c383113411f7348c255 (diff) | |
| download | poky-3d0289bca26b008a0ee272d3c0e2c21822308e6b.tar.gz | |
lsb-release: fix Distro Codename shell escaping
(From OE-Core rev: 7b5824c547b1348713e992a8bebd40577a0c5709)
Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 | } |
