mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
sculpt: let depot/public_rw depend on update state
By running those components only when needed, the graph stays simpler in the normal state.
This commit is contained in:
parent
1afec11dfc
commit
e9f40e9d68
@ -1056,9 +1056,12 @@ void Sculpt::Main::_generate_runtime_config(Xml_generator &xml) const
|
||||
xml.node("start", [&] () {
|
||||
gen_chroot_start_content(xml, name, path, w); }); };
|
||||
|
||||
chroot("depot_rw", "/depot", WRITEABLE);
|
||||
chroot("depot", "/depot", READ_ONLY);
|
||||
chroot("public_rw", "/public", WRITEABLE);
|
||||
if (_update_running()) {
|
||||
chroot("depot_rw", "/depot", WRITEABLE);
|
||||
chroot("public_rw", "/public", WRITEABLE);
|
||||
}
|
||||
|
||||
chroot("depot", "/depot", READ_ONLY);
|
||||
}
|
||||
|
||||
_network.gen_runtime_start_nodes(xml);
|
||||
|
Loading…
Reference in New Issue
Block a user