Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/
Date: Thu, 22 Feb 2018 22:17:11
Message-Id: 1519337767.aa7d3a7911b658c550e7ce76cd6d7d46541fc323.williamh@OpenRC
1 commit: aa7d3a7911b658c550e7ce76cd6d7d46541fc323
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Thu Feb 22 22:16:07 2018 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 22 22:16:07 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=aa7d3a79
7
8 openrc: force deptree update for sysinit runlevel
9
10 src/rc/rc.c | 3 +++
11 1 file changed, 3 insertions(+)
12
13 diff --git a/src/rc/rc.c b/src/rc/rc.c
14 index 1f462c66..3054f6c2 100644
15 --- a/src/rc/rc.c
16 +++ b/src/rc/rc.c
17 @@ -505,6 +505,9 @@ do_sysinit()
18 * sys */
19 if ((sys = rc_sys()))
20 setenv("RC_SYS", sys, 1);
21 + /* force an update of the dependency tree */
22 + if ((main_deptree = _rc_deptree_load(1, NULL)) == NULL)
23 + eerrorx("failed to load deptree");
24 }
25
26 static bool