2
0
Fork 0

Fix Solo5 library

The solo5.lib.so library must be stripped to be compatible with ld.lib.so.
This commit is contained in:
Ehmry - 2020-01-23 11:39:26 +01:00
parent 33d11182e3
commit 4fa63f845d
5 changed files with 19 additions and 11 deletions

View File

@ -43,8 +43,6 @@ in stdenv.mkDerivation {
runHook postInstall runHook postInstall
''; '';
dontFixup = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Sandboxed execution environment."; description = "Sandboxed execution environment.";
homepage = "https://github.com/solo5/solo5"; homepage = "https://github.com/solo5/solo5";

View File

@ -5,7 +5,7 @@ with pkgs;
let let
defaultScript = '' defaultScript = ''
run_genode_until {child "solo5" exited with exit value 0} 30 run_genode_until {SUCCESS} 30
''; '';
mkTest' = { name, testConfig, testScript ? defaultScript, ... }@attrs: mkTest' = { name, testConfig, testScript ? defaultScript, ... }@attrs:

View File

@ -36,7 +36,7 @@ in { config =
, solo5 = , solo5 =
Genode.Init.Start::{ Genode.Init.Start::{
, binary = "solo5-test_net_2if" , binary = "solo5-test_net_2if"
, resources = { caps = 256, ram = Genode.units.MiB 4 } , resources = { caps = 256, ram = Genode.units.MiB 5 }
, routes = , routes =
[ Genode.ServiceRoute.parent "Timer" [ Genode.ServiceRoute.parent "Timer"
, Genode.ServiceRoute.child "Nic" "bridge" , Genode.ServiceRoute.child "Nic" "bridge"

View File

@ -15,12 +15,22 @@ in λ(testBinary : Genode.Prelude.Map.Entry Text Text)
, routes = [ Genode.ServiceRoute.parent "Timer" ] , routes = [ Genode.ServiceRoute.parent "Timer" ]
, config = , config =
Some Some
( Genode.Prelude.XML.text ( Genode.Prelude.XML.element
'' { name = "config"
<config> , attributes =
<cmdline>Hello_Solo5</cmdline> [] : Genode.Prelude.Map.Type Text Text
</config> , content =
'' [ Genode.Prelude.XML.element
{ name = "cmdline"
, attributes =
[] : Genode.Prelude.Map.Type Text Text
, content =
[ Genode.Prelude.XML.text
"Hello_Solo5"
]
}
]
}
) )
} }
} }

View File

@ -29,5 +29,5 @@ in { config =
} }
} }
} }
, rom = [ test os.bin.rtc_drv ] , rom = [ test, os.bin.rtc_drv ]
} }