提交 ca6a21f8 编写于 作者: S Steven Rostedt 提交者: Steven Rostedt

ktest: Fix post install command

The command to run post install (for those that want initrds) was
broken. Instead of doing a substitution for the $KERNEL_VERSION
variable. It was replacing the entire command with nothing.
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 61c4f2c8
......@@ -907,7 +907,7 @@ sub install {
return if (!defined($post_install));
my $cp_post_install = $post_install;
$cp_post_install = s/\$KERNEL_VERSION/$version/g;
$cp_post_install =~ s/\$KERNEL_VERSION/$version/g;
run_command "$cp_post_install" or
dodie "Failed to run post install";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册