[ general ] move Wireguard under configuration.sh and remove from inserting for 3.10.y since it breaks there.

This commit is contained in:
Igor Pecovnik 2019-01-29 11:04:39 +01:00
parent 2e8f56a055
commit 3365d7c290
2 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,7 @@ compile_kernel()
local version=$(grab_version "$kerneldir")
# add WireGuard
if linux-version compare $version ge 3.10 ; then
if linux-version compare $version ge 3.14 ; then
if [[ ! -d $SRC/cache/sources/$LINUXSOURCEDIR/net/wireguard && $WIREGUARD == yes ]]; then
display_alert "Adding" "WireGuard" "info"
$SRC/cache/sources/wireguard/contrib/kernel-tree/jury-rig.sh $SRC/cache/sources/$LINUXSOURCEDIR

View File

@ -65,6 +65,7 @@ SERIALCON=ttyS0
CAN_BUILD_STRETCH=yes
[[ -z $CRYPTROOT_SSH_UNLOCK ]] && CRYPTROOT_SSH_UNLOCK=yes
[[ -z $CRYPTROOT_SSH_UNLOCK_PORT ]] && CRYPTROOT_SSH_UNLOCK_PORT=2022
[[ -z $WIREGUARD ]] && WIREGUARD="yes"
# single ext4 partition is the default and preferred configuration
#BOOTFS_TYPE=''