summaryrefslogtreecommitdiff
path: root/packages/mythfront
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mythfront')
-rw-r--r--packages/mythfront/mythfront-config.bb22
-rw-r--r--packages/mythfront/mythfront-session.bb4
2 files changed, 13 insertions, 13 deletions
diff --git a/packages/mythfront/mythfront-config.bb b/packages/mythfront/mythfront-config.bb
index cf89514a71..d3b7d10980 100644
--- a/packages/mythfront/mythfront-config.bb
+++ b/packages/mythfront/mythfront-config.bb
@@ -8,25 +8,25 @@ 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
+ install -d ${D}/${sysconfdir}/udhcpc.d/
+ install ${WORKDIR}/tftp.sh ${D}/${sysconfdir}/udhcpc.d/80tftp
- install -d ${D}/etc/mythtv
- ln -sf /var/lib/config/mysql.txt ${D}/etc/mythtv
+ install -d ${D}/${sysconfdir}/mythtv
+ ln -sf /var/lib/config/mysql.txt ${D}/${sysconfdir}/mythtv
- install -d ${D}/etc/X11
- install -m 0644 ${WORKDIR}/xorg.conf ${D}/etc/X11
+ install -d ${D}/${sysconfdir}/X11
+ install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11
- ln -sf /var/lib/config/lircd.conf ${D}/etc/lircd.conf
+ ln -sf /var/lib/config/lircd.conf ${D}/${sysconfdir}/lircd.conf
install -d ${D}/dev
ln -sf lirc0 ${D}/dev/lirc
if [ -f ${WORKDIR}/serial.sh ]; then
- install -d ${D}/etc/init.d
- install -d ${D}/etc/rc2.d
- install ${WORKDIR}/serial.sh ${D}/etc/init.d/mythfront-serial
- ln -sf ../init.d/mythfront-serial ${D}/etc/rc2.d/S10mythfront-serial
+ install -d ${D}/${sysconfdir}/init.d
+ install -d ${D}/${sysconfdir}/rc2.d
+ install ${WORKDIR}/serial.sh ${D}/${sysconfdir}/init.d/mythfront-serial
+ ln -sf ../init.d/mythfront-serial ${D}/${sysconfdir}/rc2.d/S10mythfront-serial
fi
}
diff --git a/packages/mythfront/mythfront-session.bb b/packages/mythfront/mythfront-session.bb
index 5f66164a2f..6f669170bf 100644
--- a/packages/mythfront/mythfront-session.bb
+++ b/packages/mythfront/mythfront-session.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
SRC_URI = "file://mythfront.sh"
do_install() {
- install -d ${D}/etc/X11/Xinit.d
- install ${WORKDIR}/mythfront.sh ${D}/etc/X11/Xinit.d/90mythfront
+ install -d ${D}/${sysconfdir}/X11/Xinit.d
+ install ${WORKDIR}/mythfront.sh ${D}/${sysconfdir}/X11/Xinit.d/90mythfront
}