From e7c8b7dfad82a42fe6e52bbf31147a27e3a7237a Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 18 Aug 2020 16:49:20 +0200 Subject: Fix device-types patcher The device-types patchs were not used since 9918419127b ("Handle the change of device-type storage"). The patch was correctly modified with path hacks, but not applied. --- lava-master/device-types-patch/patch-device-type.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lava-master') 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 -- cgit 1.2.3-korg