diff --git a/manager/demo-patch-scripts/apply-runtime-patches.sh b/manager/demo-patch-scripts/apply-runtime-patches.sh index ab138825..457a5564 100644 --- a/manager/demo-patch-scripts/apply-runtime-patches.sh +++ b/manager/demo-patch-scripts/apply-runtime-patches.sh @@ -12,6 +12,8 @@ echo "Applying pyjosev_module_enabledt.patch" cd / && patch -p0 -N -i /tmp/demo-patches/pyjosev_module_enabledt.patch echo "Applying simulator_enabledt.patch" cd / && patch -p0 -N -i /tmp/demo-patches/simulator_enabledt.patch +echo "Applying iso15118_prevent_m1_crash.patch" +cd / && patch -p0 -N -i /tmp/demo-patches/iso15118_prevent_m1_crash.patch echo "Applying enabled_payment_method_in_python.patch" cd /ext && patch -p0 -i /tmp/demo-patches/enable_payment_method_in_python.patch diff --git a/manager/demo-patches/iso15118_prevent_m1_crash.patch b/manager/demo-patches/iso15118_prevent_m1_crash.patch new file mode 100644 index 00000000..f539552c --- /dev/null +++ b/manager/demo-patches/iso15118_prevent_m1_crash.patch @@ -0,0 +1,10 @@ +--- /ext/dist/libexec/everest/3rd_party/josev/iso15118/evcc/transport/udp_client.py ++++ /ext/dist/libexec/everest/3rd_party/josev/iso15118/evcc/transport/udp_client.py +@@ -65,7 +65,7 @@ + # as the dual of bind(), in the server side, since bind() controls which + # interface(s) the socket receives multicast packets from. + interface_index = socket.if_nametoindex(iface) +- sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, interface_index) ++ # sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, interface_index) + + return sock