Files
xpadneo-dkms/04-install-to-build-root.patch

14 lines
563 B
Diff
Raw Normal View History

2026-01-08 17:33:39 -06:00
--- install.sh.orig 2025-12-08 01:53:37.575818886 -0600
+++ install.sh 2025-12-08 01:54:17.862963305 -0600
@@ -19,8 +19,8 @@
# TODO: Works around https://github.com/dell/dkms/issues/177 for DKMS 3
echo "* adding hid-xpadneo-${VERSION} folder to /usr/src"
- mkdir -p "/usr/src/hid-xpadneo-${VERSION}"
- cp --recursive "${V[@]}" hid-xpadneo/. "/usr/src/hid-xpadneo-${VERSION}/."
+ mkdir -p "$RPM_BUILD_ROOT/usr/src/hid-xpadneo-${VERSION}"
+ cp --recursive "${V[@]}" hid-xpadneo/. "$RPM_BUILD_ROOT/usr/src/hid-xpadneo-${VERSION}/."
else