assert {![have_spec linux]}
if {[have_cmd_switch --autopilot]} {
assert {[have_include power_on/qemu]} \
"Autopilot mode is not supported on this platform."
}
proc log_service { } {
if { [have_cmd_switch --autopilot] } { return log }
return ram
}
if {[have_spec nova]} {
proc kernel_output { } { return "logmem" }
}
build {
core init timer lib/ld lib/libc lib/vfs
server/file_terminal server/terminal_log app/log_core
}
create_boot_directory
proc kernel_start_node { } {
if {![have_spec nova]} {
return { } }
return {
}
}
install_config {
} [kernel_start_node] {
}
build_boot_image [build_artifacts]
append qemu_args " -nographic "
if { [have_cmd_switch --autopilot] } {
run_genode_until {.*\[log_core -> log] \[.*\n} 20
} else {
run_genode_until forever
}