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,11 +1056,14 @@ void Sculpt::Main::_generate_runtime_config(Xml_generator &xml) const
|
|||
xml.node("start", [&] () {
|
||||
gen_chroot_start_content(xml, name, path, w); }); };
|
||||
|
||||
if (_update_running()) {
|
||||
chroot("depot_rw", "/depot", WRITEABLE);
|
||||
chroot("depot", "/depot", READ_ONLY);
|
||||
chroot("public_rw", "/public", WRITEABLE);
|
||||
}
|
||||
|
||||
chroot("depot", "/depot", READ_ONLY);
|
||||
}
|
||||
|
||||
_network.gen_runtime_start_nodes(xml);
|
||||
|
||||
if (_update_running())
|
||||
|
|
Loading…
Reference in New Issue
Block a user