Hotfix lwip submodule to avoid server errors

Pulls down the upstream patch from https://github.com/micropython/micropython/pull/7250 and applies it.

Issue discussed here: https://github.com/micropython/micropython/issues/5356
This commit is contained in:
Phil Howard 2021-06-05 19:35:20 +01:00
parent bffca106f6
commit 9935e0d781
2 changed files with 20 additions and 1 deletions

View File

@ -81,10 +81,20 @@ jobs:
run: | run: |
sudo apt update && sudo apt install ${{matrix.apt-packages}} sudo apt update && sudo apt install ${{matrix.apt-packages}}
- name: Hotfix lwip submodule
shell: bash
working-directory: micropython
run: |
git config --global user.email "hotfix@example.com"
git config --global user.name "Sassy McGuffin"
wget https://github.com/micropython/micropython/commit/43e7e5f00a601b36b5b39f1fef036d6c25d5562c.patch
git am 43e7e5f00a601b36b5b39f1fef036d6c25d5562c.patch
- name: Fetch base MicroPython submodules - name: Fetch base MicroPython submodules
shell: bash shell: bash
working-directory: micropython working-directory: micropython
run: git submodule update --init run: |
git submodule update --init
- name: Fetch Pico SDK submodules - name: Fetch Pico SDK submodules
shell: bash shell: bash

View File

@ -47,6 +47,15 @@ jobs:
run: | run: |
sudo apt update && sudo apt install ${{matrix.apt-packages}} sudo apt update && sudo apt install ${{matrix.apt-packages}}
- name: Hotfix lwip submodule
shell: bash
working-directory: micropython
run: |
git config --global user.email "hotfix@example.com"
git config --global user.name "Sassy McGuffin"
wget https://github.com/micropython/micropython/commit/43e7e5f00a601b36b5b39f1fef036d6c25d5562c.patch
git am 43e7e5f00a601b36b5b39f1fef036d6c25d5562c.patch
- name: Fetch base MicroPython submodules - name: Fetch base MicroPython submodules
shell: bash shell: bash
working-directory: micropython working-directory: micropython