Merge pull request #6529 from kareem-wolfssl/openwrt21.02Fix

Workaround for removed kmods repo in OpenWRT 21.02.
This commit is contained in:
David Garske
2023-06-21 13:19:40 -07:00
committed by GitHub

View File

@ -12,6 +12,9 @@ runCMD() { # usage: runCMD "<command>" "<retVal>"
# Successful tests
runCMD "ldd /lib/libustream-ssl.so" 0
# Temporary workaround: comment out missing kmods repo line for 21.02 specifically.
# Remove after fixed upstream.
runCMD "sed '\/src\/gz openwrt_kmods https:\/\/downloads.openwrt.org\/releases\/21.02-SNAPSHOT\/targets\/x86\/64\/kmods\/5.4.238-1-5a722da41bc36de95a7195be6fce1b45/s//#&/' -i /etc/opkg/distfeeds.conf" 0
runCMD "opkg update" 0
runCMD "uclient-fetch -O /dev/null 'https://letsencrypt.org'" 0
# Negative tests