summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mythfront/mythfront-config.oe9
-rw-r--r--mythfront/mythfront-config/epia/serial.sh0
2 files changed, 8 insertions, 1 deletions
diff --git a/mythfront/mythfront-config.oe b/mythfront/mythfront-config.oe
index b33a330856..a330bf897b 100644
--- a/mythfront/mythfront-config.oe
+++ b/mythfront/mythfront-config.oe
@@ -1,10 +1,12 @@
-PV = "1.4"
+PV = "1.5"
DEPENDS = "xfonts-xorg"
RDEPENDS_${PN} = "xfonts-xorg"
SRC_URI = "file://tftp.sh file://xorg.conf"
+SRC_URI_append_epia = " file://serial.sh"
+
do_install() {
install -d ${D}/etc/udhcpc.d/
install ${WORKDIR}/tftp.sh ${D}/etc/udhcpc.d/80tftp
@@ -23,5 +25,10 @@ do_install() {
install -d ${D}/dev
ln -sf lirc0 ${D}/dev/lirc
+
+ if [ -f ${WORKDIR}/serial.sh ]; then
+ install ${WORKDIR}/serial.sh ${D}/etc/init.d/mythfront-serial
+ ln -sf ../init.d/mythfront-serial ${D}/etc/rc2.d/S10mythfront-serial
+ fi
}
diff --git a/mythfront/mythfront-config/epia/serial.sh b/mythfront/mythfront-config/epia/serial.sh
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/mythfront/mythfront-config/epia/serial.sh