package/openvmtools: use correct variable in udev rule RUN+=
authorPascal de Bruijn <p.debruijn@unilogic.nl>
Fri, 29 Nov 2019 14:22:56 +0000 (15:22 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Dec 2019 18:06:25 +0000 (19:06 +0100)
commit164963b80875b8d23062179bf2d92a9896a2a0a7
treeb07a1b21447c5dcb4a4274d9e6b0f16ed4d03ee2
parent7ad22f41b57fb244f2f396533d549f7d9eaa5a06
package/openvmtools: use correct variable in udev rule RUN+=

DEVPATH is not a valid substitution in a RUN+=, devpath is:
https://mirrors.edge.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html

So use that to get rid of the following warning:

Invalid value "/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'" for RUN
(char 27: invalid substitution type), ignoring, but please fix

Source: https://github.com/vmware/open-vm-tools/pull/376

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Acked-by: Jérémy Rosen <jeremy.rosen@smile.fr>
[Peter: extend description]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openvmtools/0010-Change-DEVPATH-to-devpath.patch [new file with mode: 0644]