[Nix-dev] [PATCHES] vsftpd and filesystems

Bryce L Nordgren bnordgren at gmail.com
Wed Feb 29 00:31:54 CET 2012


2012/2/28 Lluís Batlle i Rossell <viric at viric.name>

>
> Adding only "btrfs" will fail; I've had to add [ "btrfs" "zlib_deflate"
> "libcrc32c" "crc32c" ] to the boot.initrd for btrfs to load fine.
>


eep. not using modprobe?  I had been assuming that the mechanism used to
load kernel modules  would pick up dependencies.

Anyway, I can now confirm that the above-listed set of kernel modules does
indeed cause the patch to work as-is (e.g., I removed my extra modprobe
line). However, the modules must be added to boot.initrd.kernelModules
instead of boot.kernelModules. Don't know why.


>
> I've root on btrfs, so I can't wait for stage2. I also run btrfs device
> scan in
> the initrd. (postDeviceCommands), after having copied it to the initrd
> (extraUtilsCommands). The same for its fsck.
>
> > I do have a question, though: if boot.kernelModules is set in
> > hardware-configuration.nix and in configuration.nix, which takes
> > precedence? I've been editing the one in configuration.nix to no avail.
>
> I don't use hardware-configuration.nix, but every option defines how to be
> merged once there are multiple definitions in different nixos modules.
> With some
> defaults: lists concatenate, etc etc.
>
> Regards,
> Lluís
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120228/bf45d87d/attachment.html 


More information about the nix-dev mailing list