Files
poky/meta/recipes-devtools/python/python-mako_1.0.4.bb
Robert Yang a0006fd49d python-mako: rm -df -> rmdir
The old rm (e.g., Ubuntu 12.04's) doesn't has -d option, use rmdir to
make it work. BTW., the "-f" option in rm -df doesn't make any sense.

(From OE-Core rev: 0a78e2051e6e735e3a47a8d46d150f5e62ba505c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 08:35:01 +01:00

18 lines
376 B
BlitzBasic

require python-mako.inc
inherit setuptools
RDEPENDS_${PN} = "python-threading \
python-netclient \
python-html \
"
RDEPENDS_${PN}_class-native = ""
BBCLASSEXTEND = "native nativesdk"
# The same utility is packaged in python3-mako, so it would conflict
do_install_append() {
rm -f ${D}${bindir}/mako-render
rmdir ${D}${bindir}
}