From: Sergei Zhmylev Date: Fri, 27 Sep 2024 15:31:20 +0000 (+0300) Subject: lsb-release: fix Distro Codename shell escaping X-Git-Tag: yocto-5.2~1682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b5824c547b1348713e992a8bebd40577a0c5709;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lsb-release: fix Distro Codename shell escaping Signed-off-by: Sergei Zhmylev Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/lsb/lsb-release_1.4.bb b/meta/recipes-extended/lsb/lsb-release_1.4.bb index 00d8183a4f1..a7039ea4d19 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() { echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release if [ -n "${DISTRO_CODENAME}" ]; then - echo "DISTRIB_CODENAME=${DISTRO_CODENAME}" >> ${D}${sysconfdir}/lsb-release + echo "DISTRIB_CODENAME=\"${DISTRO_CODENAME}\"" >> ${D}${sysconfdir}/lsb-release fi echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release }