[Nix-dev] Kernel builds now unified in master

Shea Levy shea at shealevy.com
Wed Jan 22 02:15:07 CET 2014


So I just checked, and currently kmod isn't linked to xz or zlib in
order to avoid requiring them in the initrd. Is it worth a bigger initrd
to have a smaller system overall?

On Mon, Jan 06, 2014 at 12:21:18PM +0100, Eelco Dolstra wrote:
> Hi,
> 
> On 05/01/14 13:49, Shea Levy wrote:
> 
> > As of 
> > https://github.com/NixOS/nixpkgs/commit/139f8949e6a5898aa8f245b49c18a6c523dce24e, 
> > the generic kernel build now uses the manual config kernel builder under 
> > the hood. 
> 
> Cool.  Some comments:
> 
> - The function "linuxManualConfig" seems a misnomer since there is nothing
> "manual" about it.
> 
> - Apparently kmod supports loading of compressed kernel modules.  So it might be
> nice to get a further size reduction by compressing them during installation.
> 
> - The kernel config of the current system used to be available in
> /run/booted-system/kernel-modules/config, which no longer seems to be the case.
>  But maybe we can just use the "configs" kernel module instead.
> 
> -- 
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list