summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lava-master/device-types-patch/patch-device-type.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-master/device-types-patch/patch-device-type.sh b/lava-master/device-types-patch/patch-device-type.sh
index eb7da43..2e1a0c5 100644
--- a/lava-master/device-types-patch/patch-device-type.sh
+++ b/lava-master/device-types-patch/patch-device-type.sh
@@ -10,5 +10,7 @@ for patch in $(ls /root/device-types-patch/*patch)
do
echo "DEBUG: patch with $patch"
sed -i 's,lava_scheduler_app/tests/device-types/,,' $patch
+ sed -i 's,etc/dispatcher-config/device-types/,,' $patch
+ patch -p1 < $patch || exit $?
done
chown -R lavaserver:lavaserver $DEVTYPE_PATH