12 lines
337 B
Text
12 lines
337 B
Text
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI_append = "\
|
|
file://add_hosts \
|
|
"
|
|
|
|
do_install_append() {
|
|
sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${sysconfdir}/dnsmasq.conf
|
|
|
|
install -m 644 ${WORKDIR}/add_hosts ${D}${sysconfdir}
|
|
sed -i -e 's,@HOSTNAME@,${TSGRAIN_WEB_ADDRESS},g' ${D}${sysconfdir}/add_hosts
|
|
}
|