Skip to content

Commit

Permalink
v6.31
Browse files Browse the repository at this point in the history
+ DietPi-Software | WireGuard: Enable for Odroid N2 and C4, remove obsolete Rock64 implementation, we'll add a generic Armbian solution at a later date.
+ DietPi-Software | WireGuard: The package is now available via Debian backports, hence add Bullseye repo only on RPi (there are no Raspbian backports) or Stretch.
  • Loading branch information
MichaIng authored May 31, 2020
1 parent 6b07d8c commit d51514a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -4599,10 +4599,15 @@ _EOF_

kernel_packages='linux-image-arm64-odroid-n1 linux-headers-arm64-odroid-n1'

# - Rock64
elif (( $G_HW_MODEL == 43 )); then
# - Odroid N2
elif (( $G_HW_MODEL == 15 )); then

kernel_packages='linux-image-rockchip64 linux-headers-rockchip64'
kernel_packages='linux-image-arm64-odroid-n2 linux-headers-arm64-odroid-n2'

# - Odroid C4
elif (( $G_HW_MODEL == 16 )); then

kernel_packages='linux-image-arm64-odroid-c4 linux-headers-arm64-odroid-c4'

fi

Expand All @@ -4612,8 +4617,8 @@ _EOF_
# Since G_AGUG does not upgrade packages with changed dependencies, in case of kernel image meta packages, those need to be installed+upgraded via G_AGI.
G_AGI $kernel_packages # apt-get install overrides hold state

# Add Bullseye repo, which contains the WireGuard packages
if (( $G_DISTRO < 6 )); then
# Package available on Buster backports and Bullseye: For Stretch and RPi Buster add Bullseye repo
if (( $G_DISTRO < 5 || ( $G_HW_MODEL < 10 && $G_DISTRO == 5 ) )); then

# Raspbian or Debian?
local url='http://raspbian.raspberrypi.org/raspbian/'
Expand Down

0 comments on commit d51514a

Please sign in to comment.