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:
parent
f633f6c40b
commit
58ef74e961
5 changed files with 9 additions and 5 deletions
|
@ -5,7 +5,9 @@
|
|||
|
||||
*[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.
|
||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
|
||||
*[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.
|
||||
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
|
||||
|
|
|
@ -78,7 +78,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=7
|
|||
#Add buster-backports repo
|
||||
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"
|
||||
|
||||
# Update the list of package with the new repo
|
||||
|
|
|
@ -89,7 +89,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5
|
|||
#Add buster-backports repo
|
||||
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"
|
||||
|
||||
# Update the list of package with the new repo
|
||||
|
|
|
@ -59,7 +59,7 @@ arch=$(ynh_detect_arch)
|
|||
linuximage_version=$(ynh_package_version --package=linux-image-$arch)
|
||||
if [[ $linuximage_version == *"bpo10"* ]]
|
||||
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
|
||||
ynh_apt --allow-downgrades --option Dpkg::Options::=--force-confdef \
|
||||
--option Dpkg::Options::=--force-confold install linux-image-$arch/stable
|
||||
|
|
Loading…
Add table
Reference in a new issue