mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
tzdata: remove bashism
(From OE-Core rev: 1dec024b020b04375bc80df5c722a62e63ff7732) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7c7c24960f
commit
b69652da4e
@@ -49,7 +49,7 @@ do_install () {
|
||||
# Install default timezone
|
||||
if [ -e ${D}${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ]; then
|
||||
install -d ${D}${sysconfdir}
|
||||
if [ "${INSTALL_TIMEZONE_FILE}" == "1" ]; then
|
||||
if [ "${INSTALL_TIMEZONE_FILE}" = "1" ]; then
|
||||
echo ${DEFAULT_TIMEZONE} > ${D}${sysconfdir}/timezone
|
||||
fi
|
||||
ln -s ${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ${D}${sysconfdir}/localtime
|
||||
|
||||
Reference in New Issue
Block a user