Add a basic (currently failing) sanity check for btrfsProgs-in-initrd
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
edd77af3fe
commit
7f7ada53cf
@ -22,6 +22,11 @@ in
|
|||||||
ln -sv btrfsck $out/bin/fsck.btrfs
|
ln -sv btrfsck $out/bin/fsck.btrfs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
boot.initrd.extraUtilsCommandsTest = mkIf inInitrd
|
||||||
|
''
|
||||||
|
$out/bin/btrfs --version
|
||||||
|
'';
|
||||||
|
|
||||||
boot.initrd.postDeviceCommands = mkIf inInitrd
|
boot.initrd.postDeviceCommands = mkIf inInitrd
|
||||||
''
|
''
|
||||||
btrfs device scan
|
btrfs device scan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user