enable testing of extraUtilsCommands after patchelf

svn path=/nixos/trunk/; revision=31127
This commit is contained in:
Florian Friesdorf 2011-12-28 21:46:35 +00:00
parent 5cf6543e6e
commit d98ecd1d9e
1 changed files with 14 additions and 0 deletions

View File

@ -65,6 +65,18 @@ let
'';
};
boot.initrd.extraUtilsCommandsTest = mkOption {
internal = true;
default = "";
merge = mergeStringOption;
description = ''
Shell commands to be executed in the builder of the
extra-utils derivation after patchelf has done its
job. This can be used to test additional utilities
copied in extraUtilsCommands.
'';
};
fileSystems = mkOption {
options.neededForBoot = mkOption {
default = false;
@ -213,6 +225,8 @@ let
$out/bin/mdadm --version
$out/bin/basename --version
$out/bin/modprobe --version
${config.boot.initrd.extraUtilsCommandsTest}
''; # */