Wireguard: adjust repository according to upstream changes.

This commit is contained in:
Igor Pecovnik 2019-12-27 16:21:43 +01:00
parent b7a329854d
commit 58616b4ea4
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -99,7 +99,12 @@ compilation_prepare()
display_alert "Adding" "WireGuard ${wirever} " "info"
fetch_from_repo "https://git.zx2c4.com/WireGuard" "wireguard" "${wirever}" "yes"
fetch_from_repo "https://git.zx2c4.com/wireguard-monolithic-historical" "wireguard" "${wirever}" "yes"
#if linux-version compare $version gt 5.6; then
# fetch_from_repo "https://git.zx2c4.com/wireguard-linux" "wireguard" "stable" "yes"
#fi
cd ${SRC}/cache/sources/${LINUXSOURCEDIR}
rm -rf ${SRC}/cache/sources/${LINUXSOURCEDIR}/net/wireguard
cp -R ${SRC}/cache/sources/wireguard/${wirever#*:}/src/ ${SRC}/cache/sources/${LINUXSOURCEDIR}/net/wireguard