Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
navody:vps:vpsadminos:hacking [2018/09/03 23:43] – snajpa | navody:vps:vpsadminos:hacking [2018/09/06 13:09] (aktuální) – add pkgconfig and ncurses to shell to be able to run menuconfig rmarko | ||
---|---|---|---|
Řádek 18: | Řádek 18: | ||
# Enter nix-shell with the package environment | # Enter nix-shell with the package environment | ||
- | nix-shell -E "with import < | + | nix-shell -E "with import < |
# unpack the sources | # unpack the sources | ||
unpackPhase | unpackPhase | ||
- | # rest of the phases | + | # go to the unpacked dir |
+ | cd linux-* | ||
+ | |||
+ | # to apply currently defined patches | ||
patchPhase | patchPhase | ||
- | configurePhase | + | |
+ | # now you can generate new .config with | ||
+ | make menuconfig | ||
+ | |||
+ | # and run build | ||
buildPhase | buildPhase | ||
- | checkPhase | ||
- | installPhase | ||
- | fixupPhase | ||
- | installCheckPhase | ||
- | distPhase | ||
</ | </ | ||
+ | To be able to generate patches easily cloning the Linux kernel repository and checking out the correct tag might work better for you - you can still use '' |