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

doc: replace new kernel mentions by dkms ones

This commit is contained in:
tytan652 2021-01-10 10:57:05 +01:00 committed by tituspijean
parent f633f6c40b
commit 58ef74e961
5 changed files with 9 additions and 5 deletions

View file

@ -5,7 +5,9 @@
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
:warning: This app is still experimental. WireGuard requires upgrading your Linux kernel to another major version. Check its compatibility before running it on a production system. :warning: :warning: This app is still experimental. Check its compatibility before running it on a production system. :warning:
:exclamation: WireGuard for YunoHost will add a DMKS module to your Linux kernel.
> *This package allows you to install WireGuard quickly and simply on a YunoHost server. > *This package allows you to install WireGuard quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*

View file

@ -5,7 +5,9 @@
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
:warning: Cette app est encore expérimentale. WireGuard requiert de mettre à niveau votre noyau Linux. Vérifiez sa compatibilté avant de lancer l'installation sur un serveur de production. :warning: :warning: Cette app est encore expérimentale. Vérifiez sa compatibilté avant de lancer l'installation sur un serveur de production. :warning:
:exclamation: WireGuard pour YunoHost ajoutera un module DKMS à votre noyau Linux.
> *Ce package vous permet d'installer WireGuard rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer WireGuard rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*

View file

@ -78,7 +78,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=7
#Add buster-backports repo #Add buster-backports repo
ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app"
#Add pin-priority for wireguard package #Add pin-priority for wireguard packages
ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" --priority=995 --name="$app" ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" --priority=995 --name="$app"
# Update the list of package with the new repo # Update the list of package with the new repo

View file

@ -89,7 +89,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5
#Add buster-backports repo #Add buster-backports repo
ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app"
#Add pin-priority for wireguard package #Add pin-priority for wireguard packages
ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" --priority=995 --name="$app" ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" --priority=995 --name="$app"
# Update the list of package with the new repo # Update the list of package with the new repo

View file

@ -59,7 +59,7 @@ arch=$(ynh_detect_arch)
linuximage_version=$(ynh_package_version --package=linux-image-$arch) linuximage_version=$(ynh_package_version --package=linux-image-$arch)
if [[ $linuximage_version == *"bpo10"* ]] if [[ $linuximage_version == *"bpo10"* ]]
then then
# Downgrading using ynh_package_install (exploded) without "--no-remove" # Downgrading using ynh_package_install apt command without "--no-remove" and with "--allow-downgrades"
# It will remove wireguard-ynh-deps and wireguard but they will be reinstalled throught upgrade process # It will remove wireguard-ynh-deps and wireguard but they will be reinstalled throught upgrade process
ynh_apt --allow-downgrades --option Dpkg::Options::=--force-confdef \ ynh_apt --allow-downgrades --option Dpkg::Options::=--force-confdef \
--option Dpkg::Options::=--force-confold install linux-image-$arch/stable --option Dpkg::Options::=--force-confold install linux-image-$arch/stable