diff --git a/Dockerfile b/Dockerfile index 57a5a4d..e66fc4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN dnf -y install vim bash-completion file bzip2 gcc gcc-c++ git make ncurses-d python3-networkx python3-setuptools luajit2.1-luv libnghttp2-devel \ perl-Time-Piece perl-Test-CPAN-Meta-JSON net-snmp-libs \ e2fsprogs-libs pam-devel gcc-g++ cmake glibc-static libstdc++-static util-linux \ - libstdc++-static && dnf clean all + libstdc++-static slang-devel && dnf clean all # To build BPI-R4-MT76-OPENWRT-V21.02 RUN dnf install -y usbutils bison flex openssl-devel \ diff --git a/openwrt-configure.sh b/openwrt-configure.sh index 9f9cef0..03401d1 100755 --- a/openwrt-configure.sh +++ b/openwrt-configure.sh @@ -41,7 +41,7 @@ if [ -n "$CRYPTO_LIB" ]; then COMMAND="$COMMAND; opkg remove wpad-basic-mbedtls; opkg install wpad-$CRYPTO_LIB" if [[ "$CRYPTO_LIB" =~ ^(Wolfssl|wolfssl)$ ]]; then - FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libustream-mbedtls -libmbedtls libustream-wolfssl wpad-wolfssl apk-wolfssl" + FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libustream-mbedtls -libmbedtls libustream-wolfssl wpad-wolfssl" elif [[ "$CRYPTO_LIB" =~ ^(Openssl|openssl)$ ]]; then FS_FULL_WPAD_PACKAGES="$FS_FULL_WPAD_PACKAGES -apk-mbedtls -libustream-mbedtls -libmbedtls libustream-openssl wpad-openssl apk-openssl" fi