genode/repos/hello_tutorial/run/hello.run
Norman Feske 8bafb9d41b Adapt low-level components to new parent interface
This patch adjusts the components of the os repository as well as device
drivers to the new parent interface.

Issue #2120
2016-11-25 16:06:42 +01:00

40 lines
660 B
Plaintext

#
# Build
#
build { core init hello }
create_boot_directory
#
# Generate config
#
install_config {
<config>
<parent-provides>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="hello_server">
<resource name="RAM" quantum="1M"/>
<provides> <service name="Hello"/> </provides>
</start>
<start name="hello_client">
<resource name="RAM" quantum="1M"/>
</start>
</config>}
#
# Boot image
#
build_boot_image { core init hello_client hello_server }
append qemu_args " -nographic "
run_genode_until forever
run_genode_until "hello test completed.*\n" 10