mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
depot_download: respond to 'installation' changes
This patch enables the 'depot_download' subsystem to trigger downloads whenever there is a new version of the 'installation' ROM.
This commit is contained in:
parent
8f102264d3
commit
e314edb736
@ -108,6 +108,15 @@ struct Depot_download_manager::Main
|
||||
_generate_init_config(xml); });
|
||||
}
|
||||
|
||||
void _handle_installation()
|
||||
{
|
||||
_installation.update();
|
||||
_generate_init_config();
|
||||
}
|
||||
|
||||
Signal_handler<Main> _installation_handler {
|
||||
_env.ep(), *this, &Main::_handle_installation };
|
||||
|
||||
Signal_handler<Main> _query_result_handler {
|
||||
_env.ep(), *this, &Main::_handle_query_result };
|
||||
|
||||
@ -124,6 +133,7 @@ struct Depot_download_manager::Main
|
||||
_current_user.sigh(_query_result_handler);
|
||||
_init_state .sigh(_init_state_handler);
|
||||
_verified .sigh(_init_state_handler);
|
||||
_installation.sigh(_installation_handler);
|
||||
|
||||
_generate_init_config();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user