1. 网上大多数用命令 sudo apt-get install linux-source,下载安装后,发现下载下来的源码版本与当前正使用的版本不一致;
2. 参考 https://wiki.ubuntu.com/Kernel/SourceCode
The literal source code which generated a specific binary package may be obtained using the apt-get source <package> command. For example to obtain the source for the currently running kernel you can use the command below:
-
apt-get source linux-image-$(uname -r)
所有评论(0)