alx_dkms_installer
alx_dkms_installer copied to clipboard
patching 5.4 source fails
https://github.com/AMV007/alx_dkms_installer/blob/b8ace1d309d876c48c620ce41df2d63a2f505408/setup#L73 is incompatible with "/" prefix in https://github.com/AMV007/alx_dkms_installer/blob/b8ace1d309d876c48c620ce41df2d63a2f505408/000-enable-alx-wol-5.4.x.patch#L1-L2
setup fails with output:
./setup
Checking dependencies...
Done
Preparing dkms module source...
Using 5.4+ patch...
The text leading up to this was:
--------------------------
|--- a/ethtool.c
|+++ b/ethtool.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
...
!!! there is some error
The patch below fixed it
Seconded, offset needs to be 1 for it to work here too. I am on kernel 5.4.109 .
It worked for me as well, with kernel 5.4.0-72-generic.
Thanks a lot.