From: Graham Gower Date: Tue, 21 Sep 2010 14:42:18 +0000 (+0000) Subject: mythfront-config.bb: Fix do_unpack for machines other than epia. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecebb10a377eaed4afc6bb5ecfb2a468243d9aaa;p=openembedded.git mythfront-config.bb: Fix do_unpack for machines other than epia. Signed-off-by: Graham Gower Signed-off-by: Khem Raj --- diff --git a/recipes/mythfront/mythfront-config.bb b/recipes/mythfront/mythfront-config.bb index b87e0be8ad..79ba428516 100644 --- a/recipes/mythfront/mythfront-config.bb +++ b/recipes/mythfront/mythfront-config.bb @@ -1,11 +1,12 @@ PV = "1.10" -PR = "r0" +PR = "r1" RDEPENDS_${PN} = "font-misc-misc" LICENSE = "MIT" -SRC_URI = "file://tftp.sh file://xorg.conf" +SRC_URI = "file://tftp.sh" -SRC_URI_append_epia = " file://serial.sh" +SRC_URI_append_epia = " file://serial.sh \ + file://xorg.conf" do_install() { install -d ${D}${sysconfdir}/udhcpc.d/ @@ -14,9 +15,6 @@ do_install() { install -d ${D}${sysconfdir}/mythtv ln -sf /var/lib/config/mysql.txt ${D}${sysconfdir}/mythtv - install -d ${D}${sysconfdir}/X11 - install -m 0644 ${WORKDIR}/xorg.conf ${D}${sysconfdir}/X11 - ln -sf /var/lib/config/lircd.conf ${D}${sysconfdir}/lircd.conf install -d ${D}/dev @@ -30,3 +28,7 @@ do_install() { fi } +do_install_append_epia() { + install -d ${D}${sysconfdir}/X11 + install -m 0644 ${WORKDIR}/xorg.conf ${D}${sysconfdir}/X11 +}