Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From da155d965a34b5c5770dc30fa52eb7ef405f3a30 Mon Sep 17 00:00:00 2001
|
||||
From: Teresa Remmet <t.remmet@phytec.de>
|
||||
Date: Thu, 5 Sep 2024 08:37:48 +0200
|
||||
Subject: [PATCH] usb-devices: Fix usb-devices with busybox
|
||||
|
||||
The busybox find command is missing the -printf parameter leading to
|
||||
the error:
|
||||
|
||||
find: unrecognized: -printf
|
||||
|
||||
Replace the parameter with sed.
|
||||
|
||||
This patch was originally created by Daniel Fancsali.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/gregkh/usbutils/commit/da155d965a34b5c5770dc30fa52eb7ef405f3a30]
|
||||
|
||||
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
|
||||
---
|
||||
usb-devices | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/usb-devices b/usb-devices
|
||||
index 5f60ad5a1ed0..51f48b4ad628 100755
|
||||
--- a/usb-devices
|
||||
+++ b/usb-devices
|
||||
@@ -192,7 +192,7 @@ if [ ! -d /sys/bus ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-for device in $(find /sys/bus/usb/devices -name 'usb*' -printf '%f\n' | sort -V)
|
||||
+for device in $(find /sys/bus/usb/devices -name 'usb*' | sed -E 's#^.*/##g' | sort -V)
|
||||
do
|
||||
print_device "/sys/bus/usb/devices/$device" 0 0 0
|
||||
done
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From f558919e858453a31313a3df35906de2e036940c Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Estevam <festevam@denx.de>
|
||||
Date: Thu, 4 Jan 2024 03:32:11 +0100
|
||||
Subject: [PATCH] usbutils.pc.in: Fix Cflags entry
|
||||
|
||||
When updating the usbutils version in OpenEmbedded from 015 to 017,
|
||||
the following QA error is seen:
|
||||
|
||||
QA Issue: File /usr/lib/pkgconfig/usbutils.pc in package usbutils-dev contains reference to TMPDIR [buildpaths]
|
||||
|
||||
As this causes reproducibility problem due to the host PC path being
|
||||
leaked, it is treated as error.
|
||||
|
||||
Fix it by using the standard Cflags entry.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/gregkh/usbutils/pull/184/commits/3b3e5e1ebea7060bfa118d25a91b816dfa176b31]
|
||||
Signed-off-by: Fabio Estevam <festevam@denx.de>
|
||||
---
|
||||
usbutils.pc.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/usbutils.pc.in b/usbutils.pc.in
|
||||
index e69778c3195c..0aa0005de951 100644
|
||||
--- a/usbutils.pc.in
|
||||
+++ b/usbutils.pc.in
|
||||
@@ -15,4 +15,4 @@ Requires: libusb-1.0 >= 1.0.14 libudev >= 196
|
||||
Conflicts:
|
||||
Libs: -L${libdir}
|
||||
Libs.private: @LIBUSB_LIBS@ @UDEV_LIBS@
|
||||
-Cflags: @CFLAGS@ @LIBUSB_CFLAGS@ @UDEV_CFLAGS@
|
||||
+Cflags: -I${includedir}
|
||||
--
|
||||
2.34.1
|
||||
|
||||
34
sources/poky/meta/recipes-bsp/usbutils/usbutils_017.bb
Normal file
34
sources/poky/meta/recipes-bsp/usbutils/usbutils_017.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Host side USB console utilities"
|
||||
DESCRIPTION = "Contains the lsusb utility for inspecting the devices connected to the USB bus."
|
||||
HOMEPAGE = "http://www.linux-usb.org"
|
||||
SECTION = "base"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later & (GPL-2.0-only | GPL-3.0-only)"
|
||||
# License files went missing in 010, when 011 is released add LICENSES/* back
|
||||
LIC_FILES_CHKSUM = "file://lsusb.c;endline=1;md5=7226e442a172bcf25807246d7ef1eba1 \
|
||||
file://lsusb.py.in;beginline=2;endline=2;md5=c443ada211d701156e42ea36d41625b3 \
|
||||
"
|
||||
|
||||
DEPENDS = "libusb1 virtual/libiconv udev"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
|
||||
file://0001-usbutils.pc.in-Fix-Cflags-entry.patch \
|
||||
file://0001-usb-devices-Fix-usb-devices-with-busybox.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "f704c4cb78a060db88b43aac6ebfd3d93c2c5cf1d6dd0e42936faaf00814ab00"
|
||||
|
||||
inherit autotools pkgconfig update-alternatives
|
||||
|
||||
ALTERNATIVE:${PN} = "lsusb"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
# The binaries are mostly GPL-2.0-or-later apart from lsusb.py which is
|
||||
# GPL-2.0-only or GPL-3.0-only.
|
||||
LICENSE:${PN} = "GPL-2.0-or-later"
|
||||
LICENSE:${PN}-python = "GPL-2.0-only | GPL-3.0-only"
|
||||
|
||||
RRECOMMENDS:${PN} = "udev-hwdb"
|
||||
|
||||
PACKAGE_BEFORE_PN =+ "${PN}-python"
|
||||
FILES:${PN}-python += "${bindir}/lsusb.py"
|
||||
RDEPENDS:${PN}-python = "python3-core"
|
||||
Reference in New Issue
Block a user