From aa7d3a7911b658c550e7ce76cd6d7d46541fc323 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 22 Feb 2018 16:16:07 -0600 Subject: openrc: force deptree update for sysinit runlevel --- src/rc/rc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/rc/rc.c b/src/rc/rc.c index 1f462c66..3054f6c2 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -505,6 +505,9 @@ do_sysinit() * sys */ if ((sys = rc_sys())) setenv("RC_SYS", sys, 1); + /* force an update of the dependency tree */ + if ((main_deptree = _rc_deptree_load(1, NULL)) == NULL) + eerrorx("failed to load deptree"); } static bool -- cgit v1.2.3