plugins: sys.so and usr.so must run after bootmisc

The bootmisc plugin sets up the base path for finit and figures out if
the system has /run or /var/run -- needed by the other plugins.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-01-07 18:07:40 +01:00
parent 96b5991355
commit c22d123ab0
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -179,6 +179,7 @@ static void sys_init(void *arg)
static plugin_t plugin = {
.name = __FILE__,
.hook[HOOK_BASEFS_UP] = { .cb = sys_init },
.depends = { "bootmisc", },
};
PLUGIN_INIT(plugin_init)
+1
View File
@@ -105,6 +105,7 @@ static void usr_init(void *arg)
static plugin_t plugin = {
.name = __FILE__,
.hook[HOOK_BASEFS_UP] = { .cb = usr_init },
.depends = { "bootmisc", },
};
PLUGIN_INIT(plugin_init)