Merge pull request #81693 from lovesegfault/uvcdynctrl-udev
uvcdynctrl: fix udev files
This commit is contained in:
commit
d9a056953c
@ -15,9 +15,16 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [ libxml2 ];
|
buildInputs = [ libxml2 ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace uvcdynctrl/CMakeLists.txt \
|
local fixup_list=(
|
||||||
--replace "/etc/udev" "$out/etc/udev" \
|
uvcdynctrl/CMakeLists.txt
|
||||||
--replace "/lib/udev" "$out/lib/udev"
|
uvcdynctrl/udev/rules/80-uvcdynctrl.rules
|
||||||
|
uvcdynctrl/udev/scripts/uvcdynctrl
|
||||||
|
)
|
||||||
|
for f in "''${fixup_list[@]}"; do
|
||||||
|
substituteInPlace "$f" \
|
||||||
|
--replace "/etc/udev" "$out/etc/udev" \
|
||||||
|
--replace "/lib/udev" "$out/lib/udev"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user