[ general ] move Wireguard under configuration.sh and remove from inserting for 3.10.y since it breaks there.
This commit is contained in:
parent
2e8f56a055
commit
3365d7c290
@ -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
|
||||
|
||||
@ -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=''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user