]> Untitled Git - yocto/meta-hvmpd.git/commitdiff
Updates for whinlatter UNPACKDIR/WORKDIR transition
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 15 Dec 2025 00:17:19 +0000 (19:17 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 28 Mar 2026 20:54:03 +0000 (16:54 -0400)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend
recipes-extended/screen/screen_%.bbappend
recipes-multimedia/hvmpd-manager/hvmpd-manager.bb
recipes-multimedia/musicpd/mpd_%.bbappend
recipes-multimedia/musicpd/mympd_git.bb
recipes-multimedia/musicpd/ympd.bb
recipes-multimedia/shairport-sync/shairport-sync_git.bb
recipes-support/hvutils-lcd/hvutils-lcd.bb
recipes-support/swupdate/swupdate_%.bbappend

index 5bac5026e14be8e15387cf1d6232b539279fe858..54d8fd84e84af08d564625ea29e4d8e9daac00c1 100644 (file)
@@ -4,5 +4,5 @@ do_compile:prepend() {
     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"
 }
index faa7d988a1fb6a15b0a8ea294ef081f04d877470..e80ee3ebf59cc62a1b779aebb127d15ac4f82de0 100644 (file)
@@ -6,7 +6,7 @@ SRC_URI:append:hvmpd = " \
 
 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 = "\
index ca5f6fc06e1b4575c38fb481adac5034c873f04e..01d10905289e25ff9949bbb0f7af11fbad7335ef 100644 (file)
@@ -10,14 +10,16 @@ SRC_URI = "\
     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} = " \
index 9b5c0e397bc7260752a01706fb0c147f3f0dc000..8fccf5234af27d350e17ad115b93207d8e2b2862 100644 (file)
@@ -42,7 +42,7 @@ do_install:append() {
     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
index 4b2e8b6422de3b2e95c7eaca90e22c03b89d6ab7..d37135dbf7a40f84b563811fff8c5e7b52b2aadb 100644 (file)
@@ -11,8 +11,6 @@ SRCBRANCH = "master"
 SRCREV = "70a455c3220f603130cf2a7c9cc2f0a072116783"
 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.
index f0b94fb75b3cfa11170712bcb957c21613109fca..04b54fbe9d9373aa8aeb134ac2d7e980ba06011a 100644 (file)
@@ -13,8 +13,6 @@ SRCREV = "${AUTOREV}"
 # 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() {
index 18a6bd2972d55d79ef557e7b258eef51318432f5..30e006af67646cd5e961a168838c8b86dfb0fcf2 100644 (file)
@@ -14,8 +14,6 @@ SRC_URI += " \
     file://mpc-stop.sh \
 "
 
-S = "${WORKDIR}/git"
-
 inherit autotools pkgconfig systemd useradd
 
 EXTRA_OECONF = " \
@@ -33,16 +31,16 @@ AIRPLAY_SERVER_NAME ?= "%h shairplay-sync"
 
 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} = " \
index 7d66979bbbf25fed031c1c39dfa9e76f5d1d9b8c..9a96a537807b7abc88b93bd31294c3fc2cff1ab5 100644 (file)
@@ -7,10 +7,12 @@ PV = "0.0.1"
 
 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"
index 350bd5174d157783bf734144cf432e957e1343cc..5c65fa1bffaeda27c2f7a955a03c09066d6e7676 100644 (file)
@@ -7,13 +7,13 @@ SRC_URI:append:hvmpd = " \
 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/
 }