1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Lengthen list of linux headers package candidates

So. Many. Possible. Headers. Packages.
This commit is contained in:
tituspijean 2021-12-30 22:49:43 +01:00 committed by GitHub
parent bd314c00e3
commit 4159ca1d1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
# WireGuard was integrated in Linux kernel 5.6 # WireGuard was integrated in Linux kernel 5.6
# Before that, we need Linux Headers # Before that, we need Linux Headers
if dpkg --compare-versions $(uname -r) lt 5.6; then if dpkg --compare-versions $(uname -r) lt 5.6; then
pkg_headers="raspberrypi-kernel-headers|linux-headers-generic|linux-headers-virtual|linux-headers-$(uname -r)" pkg_headers="raspberrypi-kernel-headers|linux-headers-generic|linux-headers-virtual|linux-headers-$(uname -r)|linux-headers-${YNH_ARCH}|linux-headers-cloud-${YNH_ARCH}"
else else
pkg_headers="" pkg_headers=""
fi fi