Skip to content

Commit

Permalink
[ general ] move Wireguard under configuration.sh and remove from ins…
Browse files Browse the repository at this point in the history
…erting for 3.10.y since it breaks there.
  • Loading branch information
igorpecovnik committed Jan 29, 2019
1 parent 2e8f56a commit 3365d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compilation.sh
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/configuration.sh
Expand Up @@ -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=''
Expand Down

0 comments on commit 3365d7c

Please sign in to comment.