summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-09-04 08:38:23 +0200
committerCorentin LABBE <clabbe@baylibre.com>2020-09-04 08:38:23 +0200
commitd8946b8d6d98d67807f0b441e22a7a978a6a67ef (patch)
tree29af613267aaf882d16f7e3ca644f61e4a7f2f2e
parentb91a3d121f605da92af54de91d1b790c6df80598 (diff)
deploy.sh: Remove udev rules in a more restrictive way
Now lava-dispatcher-host package exists, we should not remove its udev rules. So remove only only lava-docker rules.
-rwxr-xr-xdeploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index f7be5be..76fa2aa 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -5,8 +5,8 @@ BEROOT=""
if [ $(id -u) -ne 0 ];then
BEROOT="sudo "
fi
-$BEROOT rm /etc/udev/rules.d/*lava*rules
-$BEROOT cp udev/*lava*rules /etc/udev/rules.d/
+$BEROOT rm /etc/udev/rules.d/*lavaworker-udev*rules
+$BEROOT cp udev/*lavaworker-udev*rules /etc/udev/rules.d/
$BEROOT udevadm control --reload-rules || exit $?
$BEROOT udevadm trigger || exit $?