mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
sculpt: fix presence of unconfigured children
A launched child only becomes present in the runtime when it has been configured. This must be considered when checking for missing servers. Fixes genodelabs/genode#5226
This commit is contained in:
parent
cfd013a01a
commit
b793802333
@ -194,6 +194,15 @@ class Depot_deploy::Children
|
||||
result = true; });
|
||||
return result;
|
||||
}
|
||||
|
||||
bool blueprint_needed(Child::Name const &name) const
|
||||
{
|
||||
bool result = false;
|
||||
_children.for_each([&] (Child const &child) {
|
||||
if (child.name() == name && child.blueprint_needed())
|
||||
result = true; });
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* _CHILDREN_H_ */
|
||||
|
@ -234,7 +234,7 @@ struct Sculpt::Deploy
|
||||
if (name == "default_fs_rw")
|
||||
return;
|
||||
|
||||
if (!_runtime_info.present_in_runtime(name))
|
||||
if (!_runtime_info.present_in_runtime(name) || _children.blueprint_needed(name))
|
||||
fn(name);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user