You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to fix the /lib/modules//source and build symlinks to be fixed when I install the linux-headers package. I think your script does that but I am not sure of where to install it. Could you guide me a bit please ?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
The script fix the following condition:
When installing a custom kernel package, a message printed as following:
Hmm. The package shipped with a symbolic link /lib/modules//<"source" or "build">
However, I can not read the target: file not found
Therefore, I am deleting /lib/modules//<"source" or "build">
And the (third party) kernel modules can't be built because the symbolic link /lib/modules/「custom kernel version」/build doesn't pointed to /usr/src/「custom kernel version」 or missing.
The script provided here currently replace the symbolic link with a correct one.
How to use:
1.boot using the custom kernel with its version you want to fix
2.download (or clone) the script
3.make sure if the script file "Fix_link.sh" has "executable(x)" attribute triggered
4.execute the script (probably with administrative rights, or add "sudo" to the start of the command)
example: sudo bash Shell_scripts/Fix_link.sh
5.rebuild the (third party) kernel modules if needed
Hi,
I came across your script on https://github.com/Vdragon/Custom-kernel-header-post-install-fix-link-script but I am not sure on how to use it.
I would like to fix the /lib/modules//source and build symlinks to be fixed when I install the linux-headers package. I think your script does that but I am not sure of where to install it. Could you guide me a bit please ?
Thanks a lot.
The text was updated successfully, but these errors were encountered: