forked from Minki/linux
ktest: Add back "tail -1" to kernelrelease make
Commit52d21580b3
"ktest: Use make -s kernelrelease" fixed commit7ff525712a
"kbuild: fake the "Entering directory ..." message more simply" as that commit added output after the make kernelrelease. But there's still some build scripts that are used by ktest that has output before the make is executed, and requires that only the last line is printed. Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
18656c7099
commit
17150fef4a
@ -2002,7 +2002,7 @@ sub get_version {
|
||||
# get the release name
|
||||
return if ($have_version);
|
||||
doprint "$make kernelrelease ... ";
|
||||
$version = `$make -s kernelrelease`;
|
||||
$version = `$make -s kernelrelease | tail -1`;
|
||||
chomp($version);
|
||||
doprint "$version\n";
|
||||
$have_version = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user