Build: downgrade kernel to fix 8821cu driver

This commit is contained in:
John Doe
2022-04-24 22:25:30 +08:00
parent fc4dee45c3
commit 02b7bdf051
2 changed files with 8 additions and 7 deletions

View File

@@ -52,7 +52,6 @@ jobs:
LOOP_DEVICE=$(losetup -f) && echo "LOOP_DEVICE=$LOOP_DEVICE" >> $GITHUB_ENV
sudo losetup -P --direct-io $LOOP_DEVICE lede.img
mkdir lede && sudo mount -o nossd,compress=zstd $LOOP_DEVICE lede
[ $BRANCH != 'master' ] && BRANCH='openwrt-18.06-k5.4'
if [ -d 'lede/.git' ]; then
cd lede && rm -f zerospace && git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
git fetch && git reset --hard origin/$BRANCH && git clean -df