Commit 35e4cd1a authored by anyc's avatar anyc

tzdata-timed: detect if zic is in /usr/bin/

parent 2354c214
......@@ -11,6 +11,12 @@ PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
B = "${S}"
do_configure_append() {
if [ ! -x /usr/sbin/zic ] && [ -x /usr/bin/zic ]; then
sed -i "s,/usr/sbin/zic,/usr/bin/zic," "${S}/scripts/zone-generate.sh" "${S}/scripts/zone-list.sh"
fi
}
do_install() {
export INSTALL_ROOT=${D}
oe_runmake install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment