summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnest Van Hoecke <ernest.vanhoecke@toradex.com>2025-07-23 18:53:29 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2025-12-11 11:43:32 +0100
commit67b3f02749f905bfd00e00673f83d600ff0a7ac2 (patch)
tree1e021421755707d61cbc57d5cce153a982771a11
parent8e88c7eb938604cbc8bd10e3d948ddbb48e67a1d (diff)
libusbgx: fix do_installwalnascar
The file 99-toradex-usb-udc.rules needs to be installed from ${UNPACKDIR} instead of ${WORKDIR} to follow the recent OE changes. Fix this file installation. Resolves the following error: install: cannot stat '${BUILDDIR}/tmp/work/aarch64-tdx-linux/libusbgx/0.2.0+git/99-toradex-usb-udc.rules': No such file or directory Related-to: ELB-6355 Fixes: b25ffb88 ("libusbgx: call gadget-start from udev instead of usbgx.service") Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com> (cherry picked from commit 360f4123cb3a60e62297d0f648de5271c30f17db)
-rw-r--r--recipes-support/libusbgx/libusbgx_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-support/libusbgx/libusbgx_%.bbappend b/recipes-support/libusbgx/libusbgx_%.bbappend
index e0a5ab1..936ba39 100644
--- a/recipes-support/libusbgx/libusbgx_%.bbappend
+++ b/recipes-support/libusbgx/libusbgx_%.bbappend
@@ -18,5 +18,5 @@ SYSTEMD_AUTO_ENABLE:${PN}-examples = "disable"
do_install:append() {
install -d ${D}${sysconfdir}/udev/rules.d
- install -m 0644 ${WORKDIR}/99-toradex-usb-udc.rules ${D}${sysconfdir}/udev/rules.d/
+ install -m 0644 ${UNPACKDIR}/99-toradex-usb-udc.rules ${D}${sysconfdir}/udev/rules.d/
}