sed -e "s!@@ROOT_PART_A_ID@@!${ROOT_PART_A_ID}!g" \
-e "s!@@ROOT_PARENT_DEV@@!${ROOT_PARENT_DEV}!g" \
-e "s!@@ROOT_PART_PREFIX@@!${ROOT_PART_PREFIX}!g" \
- -i "${WORKDIR}/boot.cmd.in"
+ -i "${UNPACKDIR}/boot.cmd.in"
}
do_install:append:hvmpd() {
install -d ${D}${ROOT_HOME}
- install -m 644 ${WORKDIR}/user-screenrc ${D}${ROOT_HOME}/.screenrc
+ install -m 644 ${UNPACKDIR}/user-screenrc ${D}${ROOT_HOME}/.screenrc
}
FILES:${PN}:append:hvmpd = "\
file://hvmpd.sh \
"
+S = "${UNPACKDIR}"
+
inherit systemd
do_install() {
install -d ${D}${sbindir}
- install -m 0755 ${WORKDIR}/hvmpd.sh ${D}${sbindir}
+ install -m 0755 ${S}/hvmpd.sh ${D}${sbindir}
install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/hvmpd.service ${D}${systemd_unitdir}/system
+ install -m 0644 ${S}/hvmpd.service ${D}${systemd_unitdir}/system
}
FILES:${PN} = " \
echo " mixer_control \"${ALSA_MIXER}\"" >> ${D}/${sysconfdir}/mpd.conf
echo "}" >> ${D}/${sysconfdir}/mpd.conf
- install -m 644 -o mpd -g audio ${WORKDIR}/*.m3u ${D}/${localstatedir}/lib/mpd/playlists/
+ install -m 644 -o mpd -g audio ${UNPACKDIR}/*.m3u ${D}/${localstatedir}/lib/mpd/playlists/
# Disabling autostart of mpd.socket, in order to enable zeroconf:
rm ${D}${systemd_unitdir}/system/mpd.socket
SRCREV = "${AUTOREV}"
SRC_URI = "git://github.com/jcorporation/myMPD.git;branch=${SRCBRANCH};protocol=https"
-S = "${WORKDIR}/git"
-
inherit pkgconfig cmake systemd
# Remove user version of service. We use system version.
# Original URI: git://github.com/SuperBFG7/ympd.git
SRC_URI = "git://git.hugovil.com/git/ympd.git;protocol=http;branch=${SRCBRANCH}"
-S = "${WORKDIR}/git"
-
inherit pkgconfig cmake systemd
do_install() {
file://mpc-stop.sh \
"
-S = "${WORKDIR}/git"
-
inherit autotools pkgconfig systemd useradd
EXTRA_OECONF = " \
do_install:append() {
sed -e "s/@AIRPLAY_SERVER_NAME@/${AIRPLAY_SERVER_NAME}/" \
- ${WORKDIR}/shairport-sync.conf.in > ${WORKDIR}/shairport-sync.conf
+ ${UNPACKDIR}/shairport-sync.conf.in > ${UNPACKDIR}/shairport-sync.conf
install -d ${D}${sysconfdir}/
- install -m 0644 ${WORKDIR}/shairport-sync.conf ${D}${sysconfdir}/
+ install -m 0644 ${UNPACKDIR}/shairport-sync.conf ${D}${sysconfdir}/
# Modify shairport-sync start arguments to always stop MPD before playing:
sed -i -e "s@^\(ExecStart=.*\)@\1 -w --on-start=${bindir}/mpc-stop.sh@g" \
${D}${systemd_unitdir}/system/shairport-sync.service
install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}/mpc-stop.sh ${D}${bindir}
+ install -m 0755 ${UNPACKDIR}/mpc-stop.sh ${D}${bindir}
}
SYSTEMD_SERVICE:${PN} = " \
SRC_URI += "file://hvutils-lcd.sh"
+S = "${UNPACKDIR}"
+
do_install() {
# Common header shell script:
install -d ${D}${bindir}
- install -m 0644 ${WORKDIR}/hvutils-lcd.sh ${D}${bindir}/
+ install -m 0644 ${S}/hvutils-lcd.sh ${D}${bindir}/
}
FILES:${PN} += "${bindir}/hvutils-lcd.sh"
inherit hwrev
do_install:append:hvmpd() {
- cp ${WORKDIR}/97-hwrevision-hardcoded.sh.in ${WORKDIR}/97-hwrevision-hardcoded.sh
+ cp ${UNPACKDIR}/97-hwrevision-hardcoded.sh.in ${UNPACKDIR}/97-hwrevision-hardcoded.sh
sed -e "s!@MACHINE@!${MACHINE}!g" \
-e "s!@EEPROM_I2C_DEVNUM@!${EEPROM_I2C_DEVNUM}!g" \
-e "s!@HWREV_LATEST@!${HWREV_LATEST}!g" \
- -i ${WORKDIR}/97-hwrevision-hardcoded.sh
+ -i ${UNPACKDIR}/97-hwrevision-hardcoded.sh
install -d ${D}${libdir}/swupdate/conf.d/
- install -m 644 ${WORKDIR}/97-hwrevision-hardcoded.sh ${D}${libdir}/swupdate/conf.d/
+ install -m 644 ${UNPACKDIR}/97-hwrevision-hardcoded.sh ${D}${libdir}/swupdate/conf.d/
}