mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config: add support for optionally building WireGuard
This commit is contained in:
parent
d1640fe4c0
commit
701b80f7c5
@ -95,6 +95,7 @@ show_config() {
|
||||
config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
|
||||
config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
|
||||
config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
|
||||
config_message="$config_message\n - WireGuard support:\t\t\t $WIREGUARD_SUPPORT"
|
||||
|
||||
# OS configuration
|
||||
|
||||
|
@ -115,6 +115,9 @@
|
||||
# build and install OpenVPN support (yes / no)
|
||||
OPENVPN_SUPPORT="yes"
|
||||
|
||||
# build and install WireGuard support (yes / no)
|
||||
WIREGUARD_SUPPORT="yes"
|
||||
|
||||
# build and install diskmounter support (udevil)
|
||||
# this service provide auto mounting support for external drives in the
|
||||
# mediacenter also automount internally drives at boottime via udev (yes / no)
|
||||
|
@ -22,6 +22,10 @@ if [ "$OPENVPN_SUPPORT" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET openvpn"
|
||||
fi
|
||||
|
||||
if [ "$WIREGUARD_SUPPORT" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET wireguard-tools wireguard-linux-compat"
|
||||
fi
|
||||
|
||||
# nss needed by inputstream.adaptive, chromium etc.
|
||||
if [ "$TARGET_ARCH" = "x86_64" ] || [ "$TARGET_ARCH" = "arm" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET nss"
|
||||
|
Loading…
x
Reference in New Issue
Block a user