Skip to contentSkip to conversation

whinlatter

meta-raspberrypi In review J. S. 3 participants 7 messages Jul 6, 2025 – Jul 7, 2025

lore
Share & tools
lore

J. S.

author
#0 lore raw

The patches provied here for your consideration, allow the master branch of meta-raspberrypi to build with the current master branch of oe-core.

The patches are probably appropriate for a whinlatter branch if/when that branch is created in the meta-raspberrypi repository.

Your feedback is, as always, welcome.

Jason Schonberg
[meta-raspberrypi][PATCH 1/3] Update layer to work with oe-core [meta-raspberrypi][PATCH 2/3] Changes to S as requried by oe-core [meta-raspberrypi][PATCH 3/3] Fix WORKDIR / UNPACKDIR issues in a few

author
#1 lore raw

PATCH 1/3 Update layer to work with oe-core master, which is currently set for "whinlatter"

---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -1
index cdf8112..aadbf0b 100644
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "raspberrypi"
 BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/"
 BBFILE_PRIORITY_raspberrypi = "9"
 
-LAYERSERIES_COMPAT_raspberrypi = "styhead walnascar"
+LAYERSERIES_COMPAT_raspberrypi = "whinlatter"
 LAYERDEPENDS_raspberrypi = "core"
 
 # Additional license directories.
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH 2/3 Changes to S as requried by oe-core

In reply to J. S.

S dropped from git recipes.

WORKDIR replaced with UNPACKDIR as suggested by oe-core commit 0ad5fb3431b5f5875326d929442124a8fabe0642

I.E.

sed -i "/^S = \"\${WORKDIR}\/git\"/d" find . -name *.bb -o -name *.inc -o -name *.bbclass

followed by this:

sed -i "s/^S = \"\${WORKDIR}\//S = \"\${UNPACKDIR}\//g" find . -name *.bb -o -name *.inc -o -name *.bbclass

---
 .../recipes-multimedia/libcamera-apps/libcamera-apps_git.bb     | 1 -
 .../recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb    | 1 -
 .../recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb    | 1 -
 .../python/python3-adafruit-circuitpython-busdevice_5.0.5.bb    | 1 -
 .../python/python3-adafruit-circuitpython-motor_3.2.6.bb        | 1 -
 .../python/python3-adafruit-circuitpython-motorkit_1.6.1.bb     | 1 -
 .../python/python3-adafruit-circuitpython-pca9685_3.3.4.bb      | 1 -
 recipes-bsp/bootfiles/rpi-config_git.bb                         | 1 -
 recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb                        | 1 -
 recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb                    | 2 +-
 recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb        | 1 -
 recipes-core/udev/udev-rules-rpi.bb                             | 1 -
 recipes-devtools/pi-blaster/pi-blaster_git.bb                   | 1 -
 .../python/python3-adafruit-circuitpython-register_1.9.10.bb    | 1 -
 .../python/python3-adafruit-platformdetect_3.27.0.bb            | 1 -
 recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb        | 1 -
 recipes-devtools/python/python3-rtimu_7.2.1.bb                  | 2 +-
 recipes-devtools/python/rpio_0.10.1.bb                          | 1 -
 recipes-devtools/raspi-gpio/raspi-gpio_git.bb                   | 1 -
 recipes-devtools/raspi-utils/raspi-utils_git.bb                 | 1 -
 recipes-graphics/raspidmx/raspidmx_git.bb                       | 1 -
 recipes-graphics/userland/userland_git.bb                       | 1 -
 .../bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb    | 1 -
 .../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 1 -
 recipes-multimedia/omxplayer/omxplayer_git.bb                   | 1 -
 recipes-multimedia/python3-picamera/python3-picamera_git.bb     | 1 -
 recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb   | 1 -
 27 files changed, 2 insertions(+), 27 deletions(-)
dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb +0 -1
index dc07145..343004f 100644
@@ -15,7 +15,6 @@ SRC_URI = "\
 PV = "1.4.2+git${SRCPV}"
 SRCREV = "9ae39f85ae6bee9761c36b9b5b80d675bc1fa369"
 
-S = "${WORKDIR}/git"
 
 DEPENDS = "libcamera libexif jpeg tiff libpng boost"
 
dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb +0 -1
index 2007201..8f61c2a 100644
@@ -32,7 +32,6 @@ SRC_URI = "\
 
 SRCREV = "b276eb0d7bc3213363e97dbb681ef7c927be6c73"
 
-S = "${WORKDIR}/git"
 
 PROVIDES = "vlc"
 RPROVIDES:${PN} = "${PROVIDES}"
dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb +0 -1
index 9e1e357..cf9c1af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=660e614bc7efb0697cc793d8a22a55c2"
 SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https"
 SRCREV = "dc688f354fe779c9267c208b99f310af87e79272"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-busdevice_5.0.5.bb +0 -1
index 93491d4..52db8b1 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"
 SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git;branch=main;protocol=https"
 SRCREV = "1bfe8005293205e2f7b2cc498ab5a946f1133b40"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motor_3.2.6.bb +0 -1
index 3233c8f..c568504 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b72678307cc7c10910b5ef460216af07"
 SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Motor.git;branch=main;protocol=https"
 SRCREV = "2251bfc0501d0acfb96c0a43f4f2b4c6a10ca14e"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb +0 -1
index 39fe76a..4de6462 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ad4a8854b39ad474755ef1aea813bac"
 SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_MotorKit.git;branch=main;protocol=https"
 SRCREV = "8c1462b4129b21f6db156d1517abb017bb74b982"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-pca9685_3.3.4.bb +0 -1
index f7f0ff1..1da4c3f 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7eb6b599fb0cfb06485c64cd4242f62"
 SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_PCA9685.git;branch=main;protocol=https"
 SRCREV = "2780c4102f4c23fbab252aa1198b61ba7e2d1b2c"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
recipes-bsp/bootfiles/rpi-config_git.bb +0 -1
index 0140f30..d39621c 100644
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=https;branch=master
            file://0001-config.txt-reintroduce-start_x.patch \
           "
 
-S = "${WORKDIR}/git"
 
 PR = "r5"
 
recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb +0 -1
index f3ca5e3..ef8c2af 100644
@@ -11,7 +11,6 @@ SRC_URI = " \
 SRCREV = "1bd0a1052b2e74d7af04de18d30b5edb12d8a423"
 PV = "v2025.03.10-2712"
 
-S = "${WORKDIR}/git"
 
 RDEPENDS:${PN} += " \
     coreutils \
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +1 -1
index d035d6e..81b5d08 100644
@@ -21,7 +21,7 @@ do_compile() {
 
 inherit kernel-arch deploy nopackages
 
-S = "${WORKDIR}/sources"
+S = "${UNPACKDIR}/sources"
 UNPACKDIR = "${S}"
 
 do_deploy() {
recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb +0 -1
index 1c3daff..3f25f15 100644
@@ -12,7 +12,6 @@ SRC_URI = "\
 "
 SRCREV = "fd4775bf90e037551532fc214a958074830bb80d"
 
-S = "${WORKDIR}/git"
 
 inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'update-rc.d', d)}
 # hciuart.service replaces what was brcm43438.service 
recipes-core/udev/udev-rules-rpi.bb +0 -1
index 3ca34f4..d898deb 100644
@@ -8,7 +8,6 @@ SRC_URI = " \
 	"
 SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf"
 
-S = "${WORKDIR}/git"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
recipes-devtools/pi-blaster/pi-blaster_git.bb +0 -1
index d02fa92..644a4c7 100644
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/sarfata/pi-blaster;branch=master;protocol=https \
            file://remove-initscript-lsb-dependency.patch \
            "
 
-S = "${WORKDIR}/git"
 
 SRCREV = "fbba9a7dcef0f352a11f8a2a5f6cbc15b62c0829"
 
recipes-devtools/python/python3-adafruit-circuitpython-register_1.9.10.bb +0 -1
index 8ff3073..b009131 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"
 
 SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Register.git;branch=main;protocol=https"
 SRCREV = "d1e8ac7ad9dcd65ab83749db3e5c96ffee80ebb7"
-S = "${WORKDIR}/git"
 
 DEPENDS += "python3-setuptools-scm-native"
 
recipes-devtools/python/python3-adafruit-platformdetect_3.27.0.bb +0 -1
index 45dc49d..32eb491 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fccd531dce4b989c05173925f0bbb76c"
 
 SRC_URI = "git://github.com/adafruit/Adafruit_Python_PlatformDetect.git;branch=main;protocol=https"
 SRCREV = "e1460098eeca5ea573f92814691bb378e15530d9"
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb +0 -1
index cdbe4b4..8f8d433 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2a21fcca821a506d4c36f7bbecc0d009"
 SRC_URI = "git://github.com/adafruit/Adafruit_Python_PureIO.git;branch=main;protocol=https"
 SRCREV = "383b615ce9ff5bbefdf77652799f380016fda353"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
recipes-devtools/python/python3-rtimu_7.2.1.bb +1 -1
index 1afbb5f..3fb603b 100644
@@ -11,5 +11,5 @@ SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master;
           "
 SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178"
 
-S = "${WORKDIR}/git/Linux/python"
+S = "${UNPACKDIR}/git/Linux/python"
 inherit setuptools3
recipes-devtools/python/rpio_0.10.1.bb +0 -1
index 176646d..8a7b8c1 100644
@@ -9,7 +9,6 @@ SRC_URI = "\
     git://github.com/metachris/RPIO.git;protocol=https;branch=master \
     "
 SRCREV = "be1942a69b2592ddacd9dc833d2668a19aafd8d2"
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
recipes-devtools/raspi-gpio/raspi-gpio_git.bb +0 -1
index 8ea4be1..c9d4051 100644
@@ -12,5 +12,4 @@ SRCREV = "22b44e4765b4b78dc5b22394fff484e353d5914d"
 SRC_URI = "git://github.com/RPi-Distro/raspi-gpio.git;protocol=https;branch=master \
           "
 
-S = "${WORKDIR}/git"
 
recipes-devtools/raspi-utils/raspi-utils_git.bb +0 -1
index 77ff2c3..7c71eb1 100644
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/raspberrypi/utils;protocol=https;branch=master"
 
 SRCREV = "b9c63214c535d7df2b0fa6743b7b3e508363c25a"
 
-S = "${WORKDIR}/git"
 
 FILES:${PN}:append = " \
     ${datadir}/bash-completion/completions/pinctrl \
recipes-graphics/raspidmx/raspidmx_git.bb +0 -1
index 4729e8c..7c2e50c 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https;branch=m
 PV = "0.0+git${SRCPV}"
 SRCREV = "e2ee6faa0d01a5ece06bcc74a47f37d7e6837310"
 
-S = "${WORKDIR}/git"
 
 inherit pkgconfig
 
recipes-graphics/userland/userland_git.bb +0 -1
index bd50bf8..270a99b 100644
@@ -51,7 +51,6 @@ SRC_URI = "\
 
 SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"
 
-S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb +0 -1
index bd5ed62..b562fa6 100644
@@ -29,7 +29,6 @@ SRC_URI = " \
 SRCREV = "78d6a07730e2d20c035899521ab67726dc028e1c"
 PV = "1.2-9+rpt3"
 
-S = "${WORKDIR}/git"
 
 inherit allarch
 
recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +0 -1
index f22ec54..cfad4bd 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;branch=bookworm;protocol
 "
 SRCREV = "4b356e134e8333d073bd3802d767a825adec3807"
 PV = "20230625-2+rpt3"
-S = "${WORKDIR}/git"
 
 inherit allarch
 
recipes-multimedia/omxplayer/omxplayer_git.bb +0 -1
index b7eaf40..85a2610 100644
@@ -40,7 +40,6 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=https;branch=maste
 
 SRC_URI:append = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " file://0001-Fix-build-with-vc4-driver.patch ", "", d)}"
 
-S = "${WORKDIR}/git"
 
 COMPATIBLE_MACHINE = "^rpi$"
 COMPATIBLE_HOST:aarch64 = "null"
recipes-multimedia/python3-picamera/python3-picamera_git.bb +0 -1
index f14941b..4d0b18a 100644
@@ -14,7 +14,6 @@ RDEPENDS:${PN} = "python3-numbers   \
 SRC_URI = "git://[email protected]/waveform80/picamera.git;protocol=ssh;branch=master"
 SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70"
 
-S = "${WORKDIR}/git"
 
 inherit setuptools3
 
recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb +0 -1
index e8f640b..4a07f50 100644
@@ -50,7 +50,6 @@ SRC_URI = "\
 
 SRCREV = "1c363463c432c5ed492c7b759abb6e015b93b6b5"
 
-S = "${WORKDIR}/git"
 
 # libraries to build in addition to avutil
 PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
Signature · 1 line
2.43.0
#3 lore raw

Re: [yocto] [meta-raspberrypi][PATCH 2/3] Changes to S as requried by oe-core

As per the README, these patches should go to [email protected].

Ross

Quoted 379 lines · J. S. via lists.yoctoproject.org

S dropped from git recipes.

WORKDIR replaced with UNPACKDIR as suggested by oe-core commit 0ad5fb3431b5f5875326d929442124a8fabe0642

I.E.

sed -i "/^S = \"\${WORKDIR}\/git\"/d" find . -name *.bb -o -name *.inc -o -name *.bbclass

followed by this:

sed -i "s/^S = \"\${WORKDIR}\//S = \"\${UNPACKDIR}\//g" find . -name *.bb -o -name *.inc -o -name *.bbclass

---

.../recipes-multimedia/libcamera-apps/libcamera-apps_git.bb     | 1 -
.../recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb    | 1 -
.../recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb    | 1 -
.../python/python3-adafruit-circuitpython-busdevice_5.0.5.bb    | 1 -
.../python/python3-adafruit-circuitpython-motor_3.2.6.bb        | 1 -
.../python/python3-adafruit-circuitpython-motorkit_1.6.1.bb     | 1 -
.../python/python3-adafruit-circuitpython-pca9685_3.3.4.bb      | 1 -
recipes-bsp/bootfiles/rpi-config_git.bb                         | 1 -
recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb                        | 1 -
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb                    | 2 +-
recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb        | 1 -
recipes-core/udev/udev-rules-rpi.bb                             | 1 -
recipes-devtools/pi-blaster/pi-blaster_git.bb                   | 1 -
.../python/python3-adafruit-circuitpython-register_1.9.10.bb    | 1 -
.../python/python3-adafruit-platformdetect_3.27.0.bb            | 1 -
recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb        | 1 -
recipes-devtools/python/python3-rtimu_7.2.1.bb                  | 2 +-
recipes-devtools/python/rpio_0.10.1.bb                          | 1 -
recipes-devtools/raspi-gpio/raspi-gpio_git.bb                   | 1 -
recipes-devtools/raspi-utils/raspi-utils_git.bb                 | 1 -
recipes-graphics/raspidmx/raspidmx_git.bb                       | 1 -
recipes-graphics/userland/userland_git.bb                       | 1 -
.../bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb    | 1 -
.../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 1 -
recipes-multimedia/omxplayer/omxplayer_git.bb                   | 1 -
recipes-multimedia/python3-picamera/python3-picamera_git.bb     | 1 -
recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb   | 1 -
27 files changed, 2 insertions(+), 27 deletions(-)
dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb +0 -0
index dc07145..343004f 100644
@@ -15,7 +15,6 @@ SRC_URI = "\

PV = "1.4.2+git${SRCPV}"
SRCREV = "9ae39f85ae6bee9761c36b9b5b80d675bc1fa369"

-S = "${WORKDIR}/git"

DEPENDS = "libcamera libexif jpeg tiff libpng boost"

dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb +0 -0
index 2007201..8f61c2a 100644
@@ -32,7 +32,6 @@ SRC_URI = "\
 

SRCREV = "b276eb0d7bc3213363e97dbb681ef7c927be6c73"

-S = "${WORKDIR}/git"

PROVIDES = "vlc"
RPROVIDES:${PN} = "${PROVIDES}"

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb +0 -0
index 9e1e357..cf9c1af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=660e614bc7efb0697cc793d8a22a55c2"

SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https" SRCREV = "dc688f354fe779c9267c208b99f310af87e79272"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-busdevice_5.0.5.bb +0 -0
index 93491d4..52db8b1 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git;branch=main;protocol=https" SRCREV = "1bfe8005293205e2f7b2cc498ab5a946f1133b40"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motor_3.2.6.bb +0 -0
index 3233c8f..c568504 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b72678307cc7c10910b5ef460216af07"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Motor.git;branch=main;protocol=https" SRCREV = "2251bfc0501d0acfb96c0a43f4f2b4c6a10ca14e"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb +0 -0
index 39fe76a..4de6462 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ad4a8854b39ad474755ef1aea813bac"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_MotorKit.git;branch=main;protocol=https" SRCREV = "8c1462b4129b21f6db156d1517abb017bb74b982"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-pca9685_3.3.4.bb +0 -0
index f7f0ff1..1da4c3f 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7eb6b599fb0cfb06485c64cd4242f62"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_PCA9685.git;branch=main;protocol=https" SRCREV = "2780c4102f4c23fbab252aa1198b61ba7e2d1b2c"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-bsp/bootfiles/rpi-config_git.bb +0 -1
index 0140f30..d39621c 100644
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=https;branch=master
           file://0001-config.txt-reintroduce-start_x.patch \
          "
 
-S = "${WORKDIR}/git"
 

PR = "r5"

recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb +0 -0
index f3ca5e3..ef8c2af 100644
@@ -11,7 +11,6 @@ SRC_URI = " \

SRCREV = "1bd0a1052b2e74d7af04de18d30b5edb12d8a423" PV = "v2025.03.10-2712"

-S = "${WORKDIR}/git"

RDEPENDS:${PN} += " \
    coreutils \
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +0 -0
index d035d6e..81b5d08 100644
@@ -21,7 +21,7 @@ do_compile() {
 

inherit kernel-arch deploy nopackages

recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +1 -1
-S = "${WORKDIR}/sources"
+S = "${UNPACKDIR}/sources"

UNPACKDIR = "${S}"

do_deploy() {

recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb +0 -0
index 1c3daff..3f25f15 100644
@@ -12,7 +12,6 @@ SRC_URI = "\

"
SRCREV = "fd4775bf90e037551532fc214a958074830bb80d"

-S = "${WORKDIR}/git"

inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'update-rc.d', d)}

# hciuart.service replaces what was brcm43438.service 
recipes-core/udev/udev-rules-rpi.bb +0 -0
index 3ca34f4..d898deb 100644
@@ -8,7 +8,6 @@ SRC_URI = " \

"
SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf"

-S = "${WORKDIR}/git"

INHIBIT_DEFAULT_DEPS = "1"

recipes-devtools/pi-blaster/pi-blaster_git.bb +0 -1
index d02fa92..644a4c7 100644
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/sarfata/pi-blaster;branch=master;protocol=https \
           file://remove-initscript-lsb-dependency.patch \
           "
 
-S = "${WORKDIR}/git"
 

SRCREV = "fbba9a7dcef0f352a11f8a2a5f6cbc15b62c0829"

recipes-devtools/python/python3-adafruit-circuitpython-register_1.9.10.bb +0 -0
index 8ff3073..b009131 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"
 

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Register.git;branch=main;protocol=https" SRCREV = "d1e8ac7ad9dcd65ab83749db3e5c96ffee80ebb7"
-S = "${WORKDIR}/git"

DEPENDS += "python3-setuptools-scm-native"

recipes-devtools/python/python3-adafruit-platformdetect_3.27.0.bb +0 -0
index 45dc49d..32eb491 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fccd531dce4b989c05173925f0bbb76c"
 

SRC_URI = "git://github.com/adafruit/Adafruit_Python_PlatformDetect.git;branch=main;protocol=https" SRCREV = "e1460098eeca5ea573f92814691bb378e15530d9"
-S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb +0 -0
index cdbe4b4..8f8d433 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2a21fcca821a506d4c36f7bbecc0d009"

SRC_URI = "git://github.com/adafruit/Adafruit_Python_PureIO.git;branch=main;protocol=https" SRCREV = "383b615ce9ff5bbefdf77652799f380016fda353"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/python/python3-rtimu_7.2.1.bb +0 -0
index 1afbb5f..3fb603b 100644
@@ -11,5 +11,5 @@ SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master;
          "

SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178"

recipes-devtools/python/python3-rtimu_7.2.1.bb +1 -1
-S = "${WORKDIR}/git/Linux/python"
+S = "${UNPACKDIR}/git/Linux/python"

inherit setuptools3

recipes-devtools/python/rpio_0.10.1.bb +0 -0
index 176646d..8a7b8c1 100644
@@ -9,7 +9,6 @@ SRC_URI = "\
    git://github.com/metachris/RPIO.git;protocol=https;branch=master \
    "

SRCREV = "be1942a69b2592ddacd9dc833d2668a19aafd8d2" -S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/raspi-gpio/raspi-gpio_git.bb +0 -1
index 8ea4be1..c9d4051 100644
@@ -12,5 +12,4 @@ SRCREV = "22b44e4765b4b78dc5b22394fff484e353d5914d"
 SRC_URI = "git://github.com/RPi-Distro/raspi-gpio.git;protocol=https;branch=master \
          "
 
-S = "${WORKDIR}/git"
 
recipes-devtools/raspi-utils/raspi-utils_git.bb +0 -0
index 77ff2c3..7c71eb1 100644
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/raspberrypi/utils;protocol=https;branch=master"
 

SRCREV = "b9c63214c535d7df2b0fa6743b7b3e508363c25a"

-S = "${WORKDIR}/git"

FILES:${PN}:append = " \
    ${datadir}/bash-completion/completions/pinctrl \
recipes-graphics/raspidmx/raspidmx_git.bb +0 -0
index 4729e8c..7c2e50c 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https;branch=m

PV = "0.0+git${SRCPV}"
SRCREV = "e2ee6faa0d01a5ece06bcc74a47f37d7e6837310"

-S = "${WORKDIR}/git"

inherit pkgconfig

recipes-graphics/userland/userland_git.bb +0 -0
index bd50bf8..270a99b 100644
@@ -51,7 +51,6 @@ SRC_URI = "\
 

SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"

-S = "${WORKDIR}/git"

inherit cmake pkgconfig

recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb +0 -0
index bd5ed62..b562fa6 100644
@@ -29,7 +29,6 @@ SRC_URI = " \

SRCREV = "78d6a07730e2d20c035899521ab67726dc028e1c" PV = "1.2-9+rpt3"

-S = "${WORKDIR}/git"

inherit allarch

recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +0 -0
index f22ec54..cfad4bd 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;branch=bookworm;protocol

"
SRCREV = "4b356e134e8333d073bd3802d767a825adec3807" PV = "20230625-2+rpt3"
-S = "${WORKDIR}/git"

inherit allarch

recipes-multimedia/omxplayer/omxplayer_git.bb +0 -0
index b7eaf40..85a2610 100644
@@ -40,7 +40,6 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=https;branch=maste
 

SRC_URI:append = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " file://0001-Fix-build-with-vc4-driver.patch ", "", d)}"

-S = "${WORKDIR}/git"

COMPATIBLE_MACHINE = "^rpi$"
COMPATIBLE_HOST:aarch64 = "null"

recipes-multimedia/python3-picamera/python3-picamera_git.bb +0 -0
index f14941b..4d0b18a 100644
@@ -14,7 +14,6 @@ RDEPENDS:${PN} = "python3-numbers   \

SRC_URI = "git://[email protected]/waveform80/picamera.git;protocol=ssh;branch=master" SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb +0 -0
index e8f640b..4a07f50 100644
@@ -50,7 +50,6 @@ SRC_URI = "\
 

SRCREV = "1c363463c432c5ed492c7b759abb6e015b93b6b5"

-S = "${WORKDIR}/git"

# libraries to build in addition to avutil
PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
Signature · 10 lines
2.43.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#65612): https://lists.yoctoproject.org/g/yocto/message/65612
Mute This Topic: https://lists.yoctoproject.org/mt/114018237/6875888
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
author
#4 lore raw

Re: [yocto] [meta-raspberrypi][PATCH 2/3] Changes to S as requried by oe-core

Ross,

Apologies if I sent it to the wrong list. I followed the documentation link at the bottom of
https://github.com/agherzan/meta-raspberrypi?tab=readme-ov-file that took me to https://meta-raspberrypi.readthedocs.io/en/latest/contributing.html

That seemed to suggest that patches should be sent to [email protected]

I will repost my patches to yocto-patches.

Thanks,
Jason Schonberg

Quoted 385 lines · Ross Burton

As per the README, these patches should go to [email protected].

Ross

Quoted 379 lines · J. S. via lists.yoctoproject.org

S dropped from git recipes.

WORKDIR replaced with UNPACKDIR as suggested by oe-core commit 0ad5fb3431b5f5875326d929442124a8fabe0642

I.E.

sed -i "/^S = \"\${WORKDIR}\/git\"/d" find . -name *.bb -o -name *.inc -o -name *.bbclass

followed by this:

sed -i "s/^S = \"\${WORKDIR}\//S = \"\${UNPACKDIR}\//g" find . -name *.bb -o -name *.inc -o -name *.bbclass

---

.../recipes-multimedia/libcamera-apps/libcamera-apps_git.bb     | 1 -
.../recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb    | 1 -
.../recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb    | 1 -
.../python/python3-adafruit-circuitpython-busdevice_5.0.5.bb    | 1 -
.../python/python3-adafruit-circuitpython-motor_3.2.6.bb        | 1 -
.../python/python3-adafruit-circuitpython-motorkit_1.6.1.bb     | 1 -
.../python/python3-adafruit-circuitpython-pca9685_3.3.4.bb      | 1 -
recipes-bsp/bootfiles/rpi-config_git.bb                         | 1 -
recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb                        | 1 -
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb                    | 2 +-
recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb        | 1 -
recipes-core/udev/udev-rules-rpi.bb                             | 1 -
recipes-devtools/pi-blaster/pi-blaster_git.bb                   | 1 -
.../python/python3-adafruit-circuitpython-register_1.9.10.bb    | 1 -
.../python/python3-adafruit-platformdetect_3.27.0.bb            | 1 -
recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb        | 1 -
recipes-devtools/python/python3-rtimu_7.2.1.bb                  | 2 +-
recipes-devtools/python/rpio_0.10.1.bb                          | 1 -
recipes-devtools/raspi-gpio/raspi-gpio_git.bb                   | 1 -
recipes-devtools/raspi-utils/raspi-utils_git.bb                 | 1 -
recipes-graphics/raspidmx/raspidmx_git.bb                       | 1 -
recipes-graphics/userland/userland_git.bb                       | 1 -
.../bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb    | 1 -
.../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 1 -
recipes-multimedia/omxplayer/omxplayer_git.bb                   | 1 -
recipes-multimedia/python3-picamera/python3-picamera_git.bb     | 1 -
recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb   | 1 -
27 files changed, 2 insertions(+), 27 deletions(-)
dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb +0 -0
index dc07145..343004f 100644
@@ -15,7 +15,6 @@ SRC_URI = "\

PV = "1.4.2+git${SRCPV}"
SRCREV = "9ae39f85ae6bee9761c36b9b5b80d675bc1fa369"

-S = "${WORKDIR}/git"

DEPENDS = "libcamera libexif jpeg tiff libpng boost"

dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb +0 -0
index 2007201..8f61c2a 100644
@@ -32,7 +32,6 @@ SRC_URI = "\
 

SRCREV = "b276eb0d7bc3213363e97dbb681ef7c927be6c73"

-S = "${WORKDIR}/git"

PROVIDES = "vlc"
RPROVIDES:${PN} = "${PROVIDES}"

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb +0 -0
index 9e1e357..cf9c1af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=660e614bc7efb0697cc793d8a22a55c2"

SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https" SRCREV = "dc688f354fe779c9267c208b99f310af87e79272"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-busdevice_5.0.5.bb +0 -0
index 93491d4..52db8b1 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git;branch=main;protocol=https" SRCREV = "1bfe8005293205e2f7b2cc498ab5a946f1133b40"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motor_3.2.6.bb +0 -0
index 3233c8f..c568504 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b72678307cc7c10910b5ef460216af07"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Motor.git;branch=main;protocol=https" SRCREV = "2251bfc0501d0acfb96c0a43f4f2b4c6a10ca14e"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb +0 -0
index 39fe76a..4de6462 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ad4a8854b39ad474755ef1aea813bac"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_MotorKit.git;branch=main;protocol=https" SRCREV = "8c1462b4129b21f6db156d1517abb017bb74b982"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-pca9685_3.3.4.bb +0 -0
index f7f0ff1..1da4c3f 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7eb6b599fb0cfb06485c64cd4242f62"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_PCA9685.git;branch=main;protocol=https" SRCREV = "2780c4102f4c23fbab252aa1198b61ba7e2d1b2c"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-bsp/bootfiles/rpi-config_git.bb +0 -1
index 0140f30..d39621c 100644
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=https;branch=master
           file://0001-config.txt-reintroduce-start_x.patch \
          "
 
-S = "${WORKDIR}/git"
 

PR = "r5"

recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb +0 -0
index f3ca5e3..ef8c2af 100644
@@ -11,7 +11,6 @@ SRC_URI = " \

SRCREV = "1bd0a1052b2e74d7af04de18d30b5edb12d8a423" PV = "v2025.03.10-2712"

-S = "${WORKDIR}/git"

RDEPENDS:${PN} += " \
    coreutils \
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +0 -0
index d035d6e..81b5d08 100644
@@ -21,7 +21,7 @@ do_compile() {
 

inherit kernel-arch deploy nopackages

recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +1 -1
-S = "${WORKDIR}/sources"
+S = "${UNPACKDIR}/sources"

UNPACKDIR = "${S}"

do_deploy() {

recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb +0 -0
index 1c3daff..3f25f15 100644
@@ -12,7 +12,6 @@ SRC_URI = "\

"
SRCREV = "fd4775bf90e037551532fc214a958074830bb80d"

-S = "${WORKDIR}/git"

inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'update-rc.d', d)}

# hciuart.service replaces what was brcm43438.service
recipes-core/udev/udev-rules-rpi.bb +0 -0
index 3ca34f4..d898deb 100644
@@ -8,7 +8,6 @@ SRC_URI = " \

"
SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf"

-S = "${WORKDIR}/git"

INHIBIT_DEFAULT_DEPS = "1"

recipes-devtools/pi-blaster/pi-blaster_git.bb +0 -1
index d02fa92..644a4c7 100644
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/sarfata/pi-blaster;branch=master;protocol=https \
           file://remove-initscript-lsb-dependency.patch \
           "
 
-S = "${WORKDIR}/git"
 

SRCREV = "fbba9a7dcef0f352a11f8a2a5f6cbc15b62c0829"

recipes-devtools/python/python3-adafruit-circuitpython-register_1.9.10.bb +0 -0
index 8ff3073..b009131 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"
 

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Register.git;branch=main;protocol=https" SRCREV = "d1e8ac7ad9dcd65ab83749db3e5c96ffee80ebb7"
-S = "${WORKDIR}/git"

DEPENDS += "python3-setuptools-scm-native"

recipes-devtools/python/python3-adafruit-platformdetect_3.27.0.bb +0 -0
index 45dc49d..32eb491 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fccd531dce4b989c05173925f0bbb76c"
 

SRC_URI = "git://github.com/adafruit/Adafruit_Python_PlatformDetect.git;branch=main;protocol=https" SRCREV = "e1460098eeca5ea573f92814691bb378e15530d9"
-S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb +0 -0
index cdbe4b4..8f8d433 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2a21fcca821a506d4c36f7bbecc0d009"

SRC_URI = "git://github.com/adafruit/Adafruit_Python_PureIO.git;branch=main;protocol=https" SRCREV = "383b615ce9ff5bbefdf77652799f380016fda353"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/python/python3-rtimu_7.2.1.bb +0 -0
index 1afbb5f..3fb603b 100644
@@ -11,5 +11,5 @@ SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master;
          "

SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178"

recipes-devtools/python/python3-rtimu_7.2.1.bb +1 -1
-S = "${WORKDIR}/git/Linux/python"
+S = "${UNPACKDIR}/git/Linux/python"

inherit setuptools3

recipes-devtools/python/rpio_0.10.1.bb +0 -0
index 176646d..8a7b8c1 100644
@@ -9,7 +9,6 @@ SRC_URI = "\
    git://github.com/metachris/RPIO.git;protocol=https;branch=master \
    "

SRCREV = "be1942a69b2592ddacd9dc833d2668a19aafd8d2" -S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/raspi-gpio/raspi-gpio_git.bb +0 -1
index 8ea4be1..c9d4051 100644
@@ -12,5 +12,4 @@ SRCREV = "22b44e4765b4b78dc5b22394fff484e353d5914d"
 SRC_URI = "git://github.com/RPi-Distro/raspi-gpio.git;protocol=https;branch=master \
          "
 
-S = "${WORKDIR}/git"
 
recipes-devtools/raspi-utils/raspi-utils_git.bb +0 -0
index 77ff2c3..7c71eb1 100644
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/raspberrypi/utils;protocol=https;branch=master"
 

SRCREV = "b9c63214c535d7df2b0fa6743b7b3e508363c25a"

-S = "${WORKDIR}/git"

FILES:${PN}:append = " \
    ${datadir}/bash-completion/completions/pinctrl \
recipes-graphics/raspidmx/raspidmx_git.bb +0 -0
index 4729e8c..7c2e50c 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https;branch=m

PV = "0.0+git${SRCPV}"
SRCREV = "e2ee6faa0d01a5ece06bcc74a47f37d7e6837310"

-S = "${WORKDIR}/git"

inherit pkgconfig

recipes-graphics/userland/userland_git.bb +0 -0
index bd50bf8..270a99b 100644
@@ -51,7 +51,6 @@ SRC_URI = "\
 

SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"

-S = "${WORKDIR}/git"

inherit cmake pkgconfig

recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb +0 -0
index bd5ed62..b562fa6 100644
@@ -29,7 +29,6 @@ SRC_URI = " \

SRCREV = "78d6a07730e2d20c035899521ab67726dc028e1c" PV = "1.2-9+rpt3"

-S = "${WORKDIR}/git"

inherit allarch

recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +0 -0
index f22ec54..cfad4bd 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;branch=bookworm;protocol

"
SRCREV = "4b356e134e8333d073bd3802d767a825adec3807" PV = "20230625-2+rpt3"
-S = "${WORKDIR}/git"

inherit allarch

recipes-multimedia/omxplayer/omxplayer_git.bb +0 -0
index b7eaf40..85a2610 100644
@@ -40,7 +40,6 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=https;branch=maste
 

SRC_URI:append = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " file://0001-Fix-build-with-vc4-driver.patch ", "", d)}"

-S = "${WORKDIR}/git"

COMPATIBLE_MACHINE = "^rpi$"
COMPATIBLE_HOST:aarch64 = "null"

recipes-multimedia/python3-picamera/python3-picamera_git.bb +0 -0
index f14941b..4d0b18a 100644
@@ -14,7 +14,6 @@ RDEPENDS:${PN} = "python3-numbers   \

SRC_URI = "git://[email protected]/waveform80/picamera.git;protocol=ssh;branch=master" SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb +0 -0
index e8f640b..4a07f50 100644
@@ -50,7 +50,6 @@ SRC_URI = "\
 

SRCREV = "1c363463c432c5ed492c7b759abb6e015b93b6b5"

-S = "${WORKDIR}/git"

# libraries to build in addition to avutil
PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#65612): https://lists.yoctoproject.org/g/yocto/message/65612
Mute This Topic: https://lists.yoctoproject.org/mt/114018237/6875888
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Re: [yocto] [meta-raspberrypi][PATCH 2/3] Changes to S as requried by oe-core

There are already pull requests on github for whinlatter compatibility:
https://github.com/agherzan/meta-raspberrypi/pull/1480
https://github.com/agherzan/meta-raspberrypi/pull/1481

please check if something is missing there and if so open follow-up PR on github.

Quoted 405 lines · J. S. via lists.yoctoproject.org

Ross,

Apologies if I sent it to the wrong list. I followed the documentation link at the bottom of
https://github.com/agherzan/meta-raspberrypi?tab=readme-ov-file that took me to https://meta-raspberrypi.readthedocs.io/en/latest/contributing.html

That seemed to suggest that patches should be sent to [email protected]

I will repost my patches to yocto-patches.

Thanks,
Jason Schonberg

Quoted 370 lines · Ross Burton

As per the README, these patches should go to [email protected].

Ross

Quoted 365 lines · J. S. via lists.yoctoproject.org

S dropped from git recipes.

WORKDIR replaced with UNPACKDIR as suggested by oe-core commit 0ad5fb3431b5f5875326d929442124a8fabe0642

I.E.

sed -i "/^S = \"\${WORKDIR}\/git\"/d" find . -name *.bb -o -name *.inc -o -name *.bbclass

followed by this:

sed -i "s/^S = \"\${WORKDIR}\//S = \"\${UNPACKDIR}\//g" find . -name *.bb -o -name *.inc -o -name *.bbclass

---

.../recipes-multimedia/libcamera-apps/libcamera-apps_git.bb     | 1 -
.../recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb    | 1 -
.../recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb    | 1 -
.../python/python3-adafruit-circuitpython-busdevice_5.0.5.bb    | 1 -
.../python/python3-adafruit-circuitpython-motor_3.2.6.bb        | 1 -
.../python/python3-adafruit-circuitpython-motorkit_1.6.1.bb     | 1 -
.../python/python3-adafruit-circuitpython-pca9685_3.3.4.bb      | 1 -
recipes-bsp/bootfiles/rpi-config_git.bb                         | 1 -
recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb                        | 1 -
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb                    | 2 +-
recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb        | 1 -
recipes-core/udev/udev-rules-rpi.bb                             | 1 -
recipes-devtools/pi-blaster/pi-blaster_git.bb                   | 1 -
.../python/python3-adafruit-circuitpython-register_1.9.10.bb    | 1 -
.../python/python3-adafruit-platformdetect_3.27.0.bb            | 1 -
recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb        | 1 -
recipes-devtools/python/python3-rtimu_7.2.1.bb                  | 2 +-
recipes-devtools/python/rpio_0.10.1.bb                          | 1 -
recipes-devtools/raspi-gpio/raspi-gpio_git.bb                   | 1 -
recipes-devtools/raspi-utils/raspi-utils_git.bb                 | 1 -
recipes-graphics/raspidmx/raspidmx_git.bb                       | 1 -
recipes-graphics/userland/userland_git.bb                       | 1 -
.../bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb    | 1 -
.../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 1 -
recipes-multimedia/omxplayer/omxplayer_git.bb                   | 1 -
recipes-multimedia/python3-picamera/python3-picamera_git.bb     | 1 -
recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb   | 1 -
27 files changed, 2 insertions(+), 27 deletions(-)
dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb +0 -0
index dc07145..343004f 100644
@@ -15,7 +15,6 @@ SRC_URI = "\

PV = "1.4.2+git${SRCPV}"
SRCREV = "9ae39f85ae6bee9761c36b9b5b80d675bc1fa369"

-S = "${WORKDIR}/git"

DEPENDS = "libcamera libexif jpeg tiff libpng boost"

dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/rpidistro-vlc_3.0.17.bb +0 -0
index 2007201..8f61c2a 100644
@@ -32,7 +32,6 @@ SRC_URI = "\
 

SRCREV = "b276eb0d7bc3213363e97dbb681ef7c927be6c73"

-S = "${WORKDIR}/git"

PROVIDES = "vlc"
RPROVIDES:${PN} = "${PROVIDES}"

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb +0 -0
index 9e1e357..cf9c1af 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=660e614bc7efb0697cc793d8a22a55c2"

SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https" SRCREV = "dc688f354fe779c9267c208b99f310af87e79272"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-busdevice_5.0.5.bb +0 -0
index 93491d4..52db8b1 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git;branch=main;protocol=https" SRCREV = "1bfe8005293205e2f7b2cc498ab5a946f1133b40"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motor_3.2.6.bb +0 -0
index 3233c8f..c568504 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b72678307cc7c10910b5ef460216af07"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Motor.git;branch=main;protocol=https" SRCREV = "2251bfc0501d0acfb96c0a43f4f2b4c6a10ca14e"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-motorkit_1.6.1.bb +0 -0
index 39fe76a..4de6462 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ad4a8854b39ad474755ef1aea813bac"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_MotorKit.git;branch=main;protocol=https" SRCREV = "8c1462b4129b21f6db156d1517abb017bb74b982"

-S = "${WORKDIR}/git"

inherit setuptools3

dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-circuitpython-pca9685_3.3.4.bb +0 -0
index f7f0ff1..1da4c3f 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7eb6b599fb0cfb06485c64cd4242f62"

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_PCA9685.git;branch=main;protocol=https" SRCREV = "2780c4102f4c23fbab252aa1198b61ba7e2d1b2c"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-bsp/bootfiles/rpi-config_git.bb +0 -1
index 0140f30..d39621c 100644
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=https;branch=master
           file://0001-config.txt-reintroduce-start_x.patch \
          "
 
-S = "${WORKDIR}/git"
 

PR = "r5"

recipes-bsp/rpi-eeprom/rpi-eeprom_git.bb +0 -0
index f3ca5e3..ef8c2af 100644
@@ -11,7 +11,6 @@ SRC_URI = " \

SRCREV = "1bd0a1052b2e74d7af04de18d30b5edb12d8a423" PV = "v2025.03.10-2712"

-S = "${WORKDIR}/git"

RDEPENDS:${PN} += " \
    coreutils \
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +0 -0
index d035d6e..81b5d08 100644
@@ -21,7 +21,7 @@ do_compile() {
 

inherit kernel-arch deploy nopackages

recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +1 -1
-S = "${WORKDIR}/sources"
+S = "${UNPACKDIR}/sources"

UNPACKDIR = "${S}"

do_deploy() {

recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.17.bb +0 -0
index 1c3daff..3f25f15 100644
@@ -12,7 +12,6 @@ SRC_URI = "\

"
SRCREV = "fd4775bf90e037551532fc214a958074830bb80d"

-S = "${WORKDIR}/git"

inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'update-rc.d', d)}

# hciuart.service replaces what was brcm43438.service
recipes-core/udev/udev-rules-rpi.bb +0 -0
index 3ca34f4..d898deb 100644
@@ -8,7 +8,6 @@ SRC_URI = " \

"
SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf"

-S = "${WORKDIR}/git"

INHIBIT_DEFAULT_DEPS = "1"

recipes-devtools/pi-blaster/pi-blaster_git.bb +0 -1
index d02fa92..644a4c7 100644
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/sarfata/pi-blaster;branch=master;protocol=https \
           file://remove-initscript-lsb-dependency.patch \
           "
 
-S = "${WORKDIR}/git"
 

SRCREV = "fbba9a7dcef0f352a11f8a2a5f6cbc15b62c0829"

recipes-devtools/python/python3-adafruit-circuitpython-register_1.9.10.bb +0 -0
index 8ff3073..b009131 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"
 

SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Register.git;branch=main;protocol=https" SRCREV = "d1e8ac7ad9dcd65ab83749db3e5c96ffee80ebb7"
-S = "${WORKDIR}/git"

DEPENDS += "python3-setuptools-scm-native"

recipes-devtools/python/python3-adafruit-platformdetect_3.27.0.bb +0 -0
index 45dc49d..32eb491 100644
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fccd531dce4b989c05173925f0bbb76c"
 

SRC_URI = "git://github.com/adafruit/Adafruit_Python_PlatformDetect.git;branch=main;protocol=https" SRCREV = "e1460098eeca5ea573f92814691bb378e15530d9"
-S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/python/python3-adafruit-pureio_1.1.9.bb +0 -0
index cdbe4b4..8f8d433 100644
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2a21fcca821a506d4c36f7bbecc0d009"

SRC_URI = "git://github.com/adafruit/Adafruit_Python_PureIO.git;branch=main;protocol=https" SRCREV = "383b615ce9ff5bbefdf77652799f380016fda353"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/python/python3-rtimu_7.2.1.bb +0 -0
index 1afbb5f..3fb603b 100644
@@ -11,5 +11,5 @@ SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master;
          "

SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178"

recipes-devtools/python/python3-rtimu_7.2.1.bb +1 -1
-S = "${WORKDIR}/git/Linux/python"
+S = "${UNPACKDIR}/git/Linux/python"

inherit setuptools3

recipes-devtools/python/rpio_0.10.1.bb +0 -0
index 176646d..8a7b8c1 100644
@@ -9,7 +9,6 @@ SRC_URI = "\
    git://github.com/metachris/RPIO.git;protocol=https;branch=master \
    "

SRCREV = "be1942a69b2592ddacd9dc833d2668a19aafd8d2" -S = "${WORKDIR}/git"

inherit setuptools3

recipes-devtools/raspi-gpio/raspi-gpio_git.bb +0 -1
index 8ea4be1..c9d4051 100644
@@ -12,5 +12,4 @@ SRCREV = "22b44e4765b4b78dc5b22394fff484e353d5914d"
 SRC_URI = "git://github.com/RPi-Distro/raspi-gpio.git;protocol=https;branch=master \
          "
 
-S = "${WORKDIR}/git"
 
recipes-devtools/raspi-utils/raspi-utils_git.bb +0 -0
index 77ff2c3..7c71eb1 100644
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/raspberrypi/utils;protocol=https;branch=master"
 

SRCREV = "b9c63214c535d7df2b0fa6743b7b3e508363c25a"

-S = "${WORKDIR}/git"

FILES:${PN}:append = " \
    ${datadir}/bash-completion/completions/pinctrl \
recipes-graphics/raspidmx/raspidmx_git.bb +0 -0
index 4729e8c..7c2e50c 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https;branch=m

PV = "0.0+git${SRCPV}"
SRCREV = "e2ee6faa0d01a5ece06bcc74a47f37d7e6837310"

-S = "${WORKDIR}/git"

inherit pkgconfig

recipes-graphics/userland/userland_git.bb +0 -0
index bd50bf8..270a99b 100644
@@ -51,7 +51,6 @@ SRC_URI = "\
 

SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"

-S = "${WORKDIR}/git"

inherit cmake pkgconfig

recipes-kernel/bluez-firmware-rpidistro/bluez-firmware-rpidistro_git.bb +0 -0
index bd5ed62..b562fa6 100644
@@ -29,7 +29,6 @@ SRC_URI = " \

SRCREV = "78d6a07730e2d20c035899521ab67726dc028e1c" PV = "1.2-9+rpt3"

-S = "${WORKDIR}/git"

inherit allarch

recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +0 -0
index f22ec54..cfad4bd 100644
@@ -20,7 +20,6 @@ SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;branch=bookworm;protocol

"
SRCREV = "4b356e134e8333d073bd3802d767a825adec3807" PV = "20230625-2+rpt3"
-S = "${WORKDIR}/git"

inherit allarch

recipes-multimedia/omxplayer/omxplayer_git.bb +0 -0
index b7eaf40..85a2610 100644
@@ -40,7 +40,6 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=https;branch=maste
 

SRC_URI:append = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " file://0001-Fix-build-with-vc4-driver.patch ", "", d)}"

-S = "${WORKDIR}/git"

COMPATIBLE_MACHINE = "^rpi$"
COMPATIBLE_HOST:aarch64 = "null"

recipes-multimedia/python3-picamera/python3-picamera_git.bb +0 -0
index f14941b..4d0b18a 100644
@@ -14,7 +14,6 @@ RDEPENDS:${PN} = "python3-numbers   \

SRC_URI = "git://[email protected]/waveform80/picamera.git;protocol=ssh;branch=master" SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70"

-S = "${WORKDIR}/git"

inherit setuptools3

recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb +0 -0
index e8f640b..4a07f50 100644
@@ -50,7 +50,6 @@ SRC_URI = "\
 

SRCREV = "1c363463c432c5ed492c7b759abb6e015b93b6b5"

-S = "${WORKDIR}/git"

Quoted 9 lines
Quoted 8 lines
# libraries to build in addition to avutil
PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#65621): https://lists.yoctoproject.org/g/yocto/message/65621
Mute This Topic: https://lists.yoctoproject.org/mt/114018237/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#6 lore raw

PATCH 3/3 Fix WORKDIR / UNPACKDIR issues in a few files the find commands missed.

In reply to J. S.
---
 recipes-bsp/bootfiles/rpi-bootfiles.bb       | 2 +-
 recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
recipes-bsp/bootfiles/rpi-bootfiles.bb +1 -1
index eb31d54..ba119cc 100644
@@ -9,7 +9,7 @@ RPIFW_DATE ?= "20250430"
 SRCREV = "bc7f439c234e19371115e07b57c366df59cc1bc7"
 SHORTREV = "${@d.getVar("SRCREV", False).__str__()[:7]}"
 RPIFW_SRC_URI ?= "https://api.github.com/repos/raspberrypi/firmware/tarball/${SRCREV};downloadfilename=raspberrypi-firmware-${SHORTREV}.tar.gz"
-RPIFW_S ?= "${WORKDIR}/raspberrypi-firmware-${SHORTREV}"
+RPIFW_S ?= "${UNPACKDIR}/raspberrypi-firmware-${SHORTREV}"
 
 SRC_URI = "${RPIFW_SRC_URI}"
 SRC_URI[sha256sum] = "2c027debbef53c86c9ff9197d056d501b95f6ad214ad4db00a8a59b947574eb1"
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +1 -2
index 81b5d08..f201dc6 100644
@@ -21,8 +21,7 @@ do_compile() {
 
 inherit kernel-arch deploy nopackages
 
-S = "${UNPACKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_deploy() {
     install -d ${DEPLOYDIR}
Signature · 1 line
2.43.0