[systemd-devel] gentoo openrc
Reno Reckling
e-systemd at wthack.de
Mon Aug 9 22:11:16 PDT 2010
Am 10.08.2010 02:57, schrieb James Cloos:
> The runscript(8) src might provide useful clues.
Hi James,
i just took a look at the runscript code to generate the deptree, the comment looks like that:
/* This is a 6 phase operation
Phase 1 is a shell script which loads each init script and config in turn
and echos their dependency info to stdout
Phase 2 takes that and populates a depinfo object with that data
Phase 3 adds any provided services to the depinfo object
Phase 4 scans that depinfo object and puts in backlinks
Phase 5 removes broken before dependencies
Phase 6 saves the depinfo object to disk
*/
So there is in fact some shellscript-calling involved.
The main question is, whether i try to reuse the named shell script and copy some portions of the openrc source, or whether i rewrite the deptree handling code as the openrc code would bloat the
systemd tree.
More information about the systemd-devel
mailing list