From 9f24217e2689ed7237e5699c3251409c12452168 Mon Sep 17 00:00:00 2001 From: Kareem Date: Wed, 21 Jun 2023 11:53:30 -0700 Subject: [PATCH] Workaround for removed kmods repo in OpenWRT 21.02. --- Docker/OpenWrt/runTests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Docker/OpenWrt/runTests.sh b/Docker/OpenWrt/runTests.sh index 15ee3fc919..fc79d27f7f 100755 --- a/Docker/OpenWrt/runTests.sh +++ b/Docker/OpenWrt/runTests.sh @@ -12,6 +12,9 @@ runCMD() { # usage: runCMD "" "" # 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