Linux kernel: Difference between revisions
imported>Wpiekutowski m Explain how to get the proper hash for a custom kernel. Switch from sha256 to hash attr. |
imported>SuperSamus Extracting Module.symvers |
||
Line 317: | Line 317: | ||
$ dmesg | grep hello | $ dmesg | grep hello | ||
[ 82.027229] hello world! | [ 82.027229] hello world! | ||
</syntaxHighlight> | |||
If you want a local development environment and are only interested in Module.symvers, then you can do instead: | |||
<syntaxHighlight lang="console> | |||
$ cp $(nix-build -E '(import <nixpkgs> {}).linux.dev' --no-out-link)/lib/modules/*/build/Module.symvers . | |||
</syntaxHighlight> | </syntaxHighlight> | ||