summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnest Van Hoecke <ernest.vanhoecke@toradex.com>2025-07-23 18:53:29 +0200
committerErnest Van Hoecke <ernest.vanhoecke@toradex.com>2025-07-23 18:59:02 +0200
commit360f4123cb3a60e62297d0f648de5271c30f17db (patch)
tree56c6c2dcbf2fbf9fe14020b5cab763fb7b789dac
parentb25ffb88658ca64944941648a0f5fcde8a51261d (diff)
libusbgx: fix do_installHEADmaster
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>
-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/
}