Skip to content

Commit

Permalink
run/grpc-startup: (fix) run scritp
Browse files Browse the repository at this point in the history
 - vfs_pipe plugin changes
 - use [build_artifacts]
 - openssl 3 uses more ram

Issue genodelabs#342
  • Loading branch information
trimpim committed Sep 21, 2023
1 parent 9589d11 commit 32b4c60
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions run/grpc-startup.run
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import_from_depot [depot_user]/src/report_rom
import_from_depot [depot_user]/src/stdcxx
import_from_depot [depot_user]/src/vfs
import_from_depot [depot_user]/src/vfs_lwip
import_from_depot [depot_user]/src/vfs_pipe
import_from_depot [depot_user]/src/zlib


Expand Down Expand Up @@ -112,10 +113,11 @@ append config {
</default-route>
<default caps="100"/>
<start name="grpc_server" caps="200">
<resource name="RAM" quantum="8M"/>
<resource name="RAM" quantum="12M"/>
<config port="50051">
<arg value="grpc_server"/>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" socket="/dev/socket"/>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"
socket="/dev/socket" pipe="/pipe"/>
<vfs>
<dir name="dev">
<log/> <null/>
Expand All @@ -124,6 +126,7 @@ append config {
<lwip ip_addr="10.10.10.55" netmask="255.255.255.0" gateway="10.10.10.1"/>
</dir>
</dir>
<dir name="pipe"> <pipe/> </dir>
</vfs>
</config>
</start>
Expand Down Expand Up @@ -154,18 +157,10 @@ append config {
install_config $config


set boot_modules {
grpc_server
grpc_client
grpc.lib.so
libc_pipe.lib.so
}


append qemu_args " -nographic "


build_boot_image $boot_modules
build_boot_image [build_artifacts]


run_genode_until {.*Error: thread 'runner' tried to self de-struct - sleeping forever.} 300

0 comments on commit 32b4c60

Please sign in to comment.