Merge bk://openembedded@openembedded.bkbits.net/packages-devel
authorPhil Blundell <philb@gnu.org>
Sun, 24 Oct 2004 10:27:54 +0000 (10:27 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 24 Oct 2004 10:27:54 +0000 (10:27 +0000)
into stealth.nexus.co.uk:/home/pb/oe/oe-packages

2004/10/24 11:27:38+01:00 nexus.co.uk!pb
use Xinit.d not Xsession.d

2004/10/24 11:27:06+01:00 nexus.co.uk!pb
fix paste error

BKrev: 417b83aaSPcRTU0zgo1xdjK0zXEbYQ

mythfront/mythfront-config.oe
mythfront/mythfront-config/tftp.sh
mythfront/mythfront-session.oe

index e69de29..38bea68 100644 (file)
@@ -0,0 +1,15 @@
+PV = "1.1"
+
+SRC_URI = "file://tftp.sh"
+
+do_install() {
+       install -d ${D}/etc/udhcpc.d/
+       install ${WORKDIR}/tftp.sh ${D}/etc/udhcpc.d/80tftp
+
+       install -d ${D}/etc/mythtv
+       ln -sf /var/lib/config/mysql.txt ${D}/etc/mythtv
+
+       install -d ${D}/etc/X11
+       ln -sf /var/lib/config/xorg.conf ${D}/etc/X11
+}
+
index e69de29..f6df424 100644 (file)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+bootdir=`dirname $boot_file`
+
+files="mysql.txt xorg.conf"
+
+mkdir /var/lib/config
+cd /var/lib/config
+
+for fn in $files; do
+  if ! tftp -g $serverid -r $bootdir/mythfront/$ip/$fn -l $fn; then
+    if ! tftp -g $serverid -r $bootdir/mythfront/default/$fn -l $fn; then
+      rm -f $fn
+    fi
+  fi
+done
index e69de29..a8ab663 100644 (file)
@@ -0,0 +1,9 @@
+PV = "1.1"
+
+SRC_URI = "file://mythfront.sh"
+
+do_install() {
+       install -d ${D}/etc/X11/Xinit.d
+       install ${WORKDIR}/mythfront.sh ${D}/etc/X11/Xinit.d/90mythfront
+}
+