mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
87be7fbf7a
commit
3d0289bca2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user