Remove all occurances of 'before *' from dependencies

Using wildcards in dependencies causes issues when rc_parallel is set to
yes because it can lead to deadlocks.
All dependencies need to be explicit rather than implicit.

This is the first stage of moving this direction.
This commit is contained in:
William Hubbs 2017-03-14 18:04:31 -05:00
parent 5f5b1f7cbe
commit c333707cba
2 changed files with 6 additions and 2 deletions

View File

@ -34,7 +34,8 @@ depend()
if yesno $clock_adjfile; then
use root
else
before *
before binfmt bootmisc fsck hostname keymaps localmount loopback mtab
before procfs root swap sysctl termencoding urandom
fi
keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
}

View File

@ -13,7 +13,10 @@ description="Sets the local clock to the mtime of a given file."
depend()
{
before *
before adjkerntz binfmt bootmisc devdb dumpon fsck hostid hostname keymaps
before localmount loopback modules mtab network newsyslog procfs root
before savecore staticroute swap swap-blk syscons sysctl syslogd
before termencoding ttys urandom wscons
provide clock
keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
}