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>
Fri, 23 Jan 2026 16:45:15 +0000 (11:45 -0500)
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 5bac502..54d8fd8 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 faa7d98..e80ee3e 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 ca5f6fc..01d1090 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 9b5c0e3..8fccf52 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 d4a0b7d..ef82e99 100644 (file)
@@ -11,8 +11,6 @@ SRCBRANCH = "master"
 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.
index f0b94fb..04b54fb 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 18a6bd2..30e006a 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 7d66979..9a96a53 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 350bd51..5c65fa1 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/
 }