[Nix-dev] I broke btrfs :(

Eelco Dolstra eelco.dolstra at logicblox.com
Mon May 13 23:24:07 CEST 2013


Hi,

On 13/05/13 23:01, Eelco Dolstra wrote:

>> It appears I've broken btrfs root booting.
>> The upgraded version needs 2 more libraries (or a static build).
>> I can just have the nixos btrfs module copy these to ramdisk, but I
>> believe I remember some automatic functionality that did this, or at
>> least detect this type of breakage?
> 
> I don't think there is, except that you can set
> boot.initrd.extraUtilsCommandsTest to test the initrd binaries (e.g. we run
> "$out/bin/udevadm --version" to see if all its dynamic library dependencies are
> there).

We also have the automated NixOS installer tests (modules/tests/installer.nix).
 It might be a good idea to add variants for booting from btrfs (and zfs, and
LUKS, ...).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list