Uživatelské nástroje

Nástroje pro tento web


navody:vps:vpsadminos:hacking

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Následující verze
Předchozí verze
Poslední revizeObě strany příští revize
navody:vps:vpsadminos:hacking [2018/09/03 23:27] – vytvořeno snajpanavody:vps:vpsadminos:hacking [2018/09/05 13:41] – fixd rmarko
Řádek 2: Řádek 2:
 ====== Kernel hacking ====== ====== Kernel hacking ======
   * [[https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages#Using_nix-shell_for_package_development|Using nix-shell for package development]]   * [[https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages#Using_nix-shell_for_package_development|Using nix-shell for package development]]
 +  * [[https://nixos.wiki/wiki/Linux_Kernel|Linux kernel development on NixOS]]
  
 Fire up your NixOS workhose and let's get to work: Fire up your NixOS workhose and let's get to work:
Řádek 22: Řádek 23:
 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 
 </code> </code>
  
 +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 ''nix-shell'' command from the previous section to create build environment.
navody/vps/vpsadminos/hacking.txt · Poslední úprava: 2018/09/06 13:09 autor: rmarko