From 91e81591fe1ee7daa9df696ba29f1832aef7672a Mon Sep 17 00:00:00 2001
From: Spencer <5193628+spencerflem@users.noreply.github.com>
Date: Mon, 15 Jul 2024 12:45:19 -0700
Subject: [PATCH] Update documentation for hello_tutorial
Bring the docs up to date with the current run definition at
https://github.com/genodelabs/genode/blob/master/repos/hello_tutorial/run/hello.run
as well as changes to the imports of
https://github.com/genodelabs/genode/blob/master/repos/hello_tutorial/src/hello/server/main.cc
Fix #5291
Fix #5292
---
repos/hello_tutorial/doc/hello_tutorial.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/repos/hello_tutorial/doc/hello_tutorial.txt b/repos/hello_tutorial/doc/hello_tutorial.txt
index 7c7cb2e1f6..e9fb902a33 100644
--- a/repos/hello_tutorial/doc/hello_tutorial.txt
+++ b/repos/hello_tutorial/doc/hello_tutorial.txt
@@ -193,6 +193,7 @@ the applications as a class called 'Main' with its constructor taking the
component's environment as argument.
!#include
+!#include
!
!namespace Hello { struct Main; }
!
@@ -407,7 +408,7 @@ script, which can be executed directly from within your build directory.
A run script for the hello client-server scenario should be placed
at the _run/hello.run_ and look as follows:
-!build { core init hello }
+!build { core lib/ld init hello }
!
!create_boot_directory
!
@@ -415,6 +416,9 @@ at the _run/hello.run_ and look as follows:
!
!
!
+!
+!
+!
!
!
!
@@ -429,7 +433,7 @@ at the _run/hello.run_ and look as follows:
!
!}
!
-!build_boot_image { core ld.lib.so init hello_client hello_server }
+!build_boot_image [build_artifacts]
!
!append qemu_args " -nographic "
!