Fiasco.OC: fix run-environment for ARM platforms

Eliminate prints to stderr for normal messages, because it leads to exceptional
returns in TCL-scripts e.g. when run-script is triggered by the autopilot even
if the script's return code itself will be zero.
This commit is contained in:
Stefan Kalkowski 2012-06-27 11:31:43 +02:00
parent 3e9d5c532c
commit e8b1b6f6da
1 changed files with 2 additions and 2 deletions

View File

@ -185,13 +185,13 @@ proc build_boot_image_arm {binaries} {
set pid [eval "spawn sh -c \"$gen_img_cmd\""]
expect { eof { } }
if {[lindex [wait $pid] end] != 0} {
puts "Error: Single-image creation failed"
puts stderr "Error: Single-image creation failed"
exit -4
}
exec cp [bin_dir]/bootstrap.elf [run_dir]/image.elf
puts stderr "\nboot image: [run_dir]/image.elf\n"
puts "\nboot image: [run_dir]/image.elf\n"
}