From 5da8cd0c5b834b9335d92af0e2f5e217862d18c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= Date: Tue, 21 Oct 2025 06:51:20 +0200 Subject: [PATCH 1/2] python3-usbsdmux: update from 24.01.1 to 25.08 I cherry-picked from master and fixed things to upgrade from the version in the walnascar branch. Signed-off-by: Philip Balister --- ...on3-usbsdmux_24.01.1.bb => python3-usbsdmux_25.08.bb} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename recipes-devtools/python/{python3-usbsdmux_24.01.1.bb => python3-usbsdmux_25.08.bb} (66%) diff --git a/recipes-devtools/python/python3-usbsdmux_24.01.1.bb b/recipes-devtools/python/python3-usbsdmux_25.08.bb similarity index 66% rename from recipes-devtools/python/python3-usbsdmux_24.01.1.bb rename to recipes-devtools/python/python3-usbsdmux_25.08.bb index db56fde..026c8c8 100644 --- a/recipes-devtools/python/python3-usbsdmux_24.01.1.bb +++ b/recipes-devtools/python/python3-usbsdmux_25.08.bb @@ -1,19 +1,22 @@ DESCRIPTION = "Control software for usb-sd-mux that switches a SD-Card between a Device Under Test (DUT) and a host PC." HOMEPAGE = "https://github.com/linux-automation/usbsdmux" LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +LIC_FILES_CHKSUM = "\ + file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \ + file://LICENSES/LGPL-2.1-or-later.txt;md5=4bf661c1e3793e55c8d1051bc5e0ae21 \ + " SRC_URI = " \ git://github.com/linux-automation/usbsdmux.git;protocol=https;branch=master \ " -SRCREV = "89e93df939a19bab0fa980e914ed39f33afa2785" +SRCREV = "dc8ea0ea05cd1cf02902fbfebf79061389a69097" S = "${WORKDIR}/git" DEPENDS += "python3-setuptools-scm-native" -inherit setuptools3 +inherit python_setuptools_build_meta do_install:append() { install -D -m0644 ${S}/contrib/udev/99-usbsdmux.rules ${D}${sysconfdir}/udev/rules.d/99-usbsdmux.rules From 82ae3acec0b8efe7f55f42035893cc49371a7f69 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Thu, 13 Nov 2025 10:16:32 -0500 Subject: [PATCH 2/2] python3-labgrid: Add a service file for labgrid-coordinator. Add a basic systemd service file to start a coordinator. Signed-off-by: Philip Balister --- recipes-devtools/python/python3-labgrid.inc | 3 +++ .../python3-labgrid/labgrid-coordinator.service | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 recipes-devtools/python/python3-labgrid/labgrid-coordinator.service diff --git a/recipes-devtools/python/python3-labgrid.inc b/recipes-devtools/python/python3-labgrid.inc index 53020a4..3adf0b9 100644 --- a/recipes-devtools/python/python3-labgrid.inc +++ b/recipes-devtools/python/python3-labgrid.inc @@ -29,6 +29,7 @@ RDEPENDS:${PN} = " \ SRC_URI = " \ file://configuration.yaml \ file://labgrid-exporter.service \ + file://labgrid-coordinator.service \ file://environment \ " @@ -40,6 +41,7 @@ DEPENDS += "python3-pytest-runner-native" inherit python_setuptools_build_meta systemd SYSTEMD_SERVICE:${PN} = "labgrid-exporter.service" +SYSTEMD_SERVICE:${PN} = "labgrid-coordinator.service" do_install:append() { install -d ${D}${sysconfdir}/labgrid @@ -47,6 +49,7 @@ do_install:append() { install -m 0644 ${UNPACKDIR}/environment ${D}${sysconfdir}/labgrid install -d ${D}${systemd_system_unitdir} install -m 0644 ${UNPACKDIR}/labgrid-exporter.service ${D}${systemd_system_unitdir}/ + install -m 0644 ${UNPACKDIR}/labgrid-coordinator.service ${D}${systemd_system_unitdir}/ } FILES:${PN} += "${sysconfdir} ${systemd_system_unitdir}" diff --git a/recipes-devtools/python/python3-labgrid/labgrid-coordinator.service b/recipes-devtools/python/python3-labgrid/labgrid-coordinator.service new file mode 100644 index 0000000..5691fc4 --- /dev/null +++ b/recipes-devtools/python/python3-labgrid/labgrid-coordinator.service @@ -0,0 +1,15 @@ +[Unit] +Description=Labgrid Coordinator +After=network.target + +[Service] +Environment="PYTHONUNBUFFERED=1" +ExecStart=/usr/bin/labgrid-coordinator +Restart=on-failure +DynamicUser=yes +StateDirectory=labgrid-coordinator +# Set WorkingDirectory to StateDirectory, this works in DynamicUser mode since symlinks are created +WorkingDirectory=%S/labgrid-coordinator + +[Install] +WantedBy=multi-user.target