summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-11-07 12:34:59 +0000
committerPhil Blundell <philb@gnu.org>2004-11-07 12:34:59 +0000
commit27c0340f3c075a3c219854c1079abf39a7fff0b7 (patch)
tree6b208de3d05f083bb57c1c5b0fb21d2437aa5a0a
parent0fa816dbd1e87e8bc590995a68e5fe152f6c0157 (diff)
add some serial configuration bits
BKrev: 418e1673m4DcONZSLOAXeOe6YpLD2g
-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