if { [get_cmd_switch --autopilot] } { assert_spec x86 }
if { [have_spec linux] } {
puts "Run script is not supported on this platform."
exit 0
}
set host_tool [installed_command host]
set ntp_ip [exec $host_tool -t A pool.ntp.org | head -1 | cut -d " " -f 4]
puts "Using NTP server $ntp_ip"
create_boot_directory
import_from_depot [depot_user]/src/[base_src] \
[depot_user]/pkg/[drivers_nic_pkg] \
[depot_user]/src/nic_router \
[depot_user]/src/init \
[depot_user]/src/report_rom
build { app/sntp_client }
append config {
}
install_config $config
build_boot_image { sntp_client }
append qemu_args " -nographic "
append_qemu_nic_args
set done_string "report_rom]