This [1] is the Wireguard spec file from upstream Copr repo [2].
Wireguard will be included in kernel 5.0, but meanwhile we are using it as dkms.
The only problem is that at every Wireguard upgrade, a manual action
is required.
For example now that I have installed 0.0.20190123, I have to remove the old
/var/lib/dkms/wireguard/0.0.20181218/
folder in order to let
# dkms autoinstall
work.
Otherwise I will get a
=======
# dkms status
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/wireguard/0.0.20181218/source/dkms.conf does not exist.
=======
and wg-quick service unable to start.
Do you have any idea about how the Wireguard spec file could be fixed
in order to avoid this action having to be runned at every package
update?
Thank you
[1]:
https://copr-be.cloud.fedoraproject.org/results/jdoss/wireguard/fedora-29...
[2]:
https://copr.fedorainfracloud.org/coprs/jdoss/wireguard/