diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-13 08:04:25 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-13 09:34:47 +0100 |
commit | c85cda9e2f72c655c01452956bda629bbecb9e55 (patch) | |
tree | 109b575d9b6440879be22181b4f8cf3ef0740f8c /modules.d/99base | |
parent | c0c6c74d99a06a4ccdc2ddc8849bbe073e5bcbce (diff) | |
download | dracut-c85cda9e2f72c655c01452956bda629bbecb9e55.tar.gz dracut-c85cda9e2f72c655c01452956bda629bbecb9e55.tar.bz2 dracut-c85cda9e2f72c655c01452956bda629bbecb9e55.zip |
systemd: local-fs.target is now root-fs.target and initrd-fs.target
Also rename dracut.target to initrd.target
see also systemd commit 700e07f
http://cgit.freedesktop.org/systemd/systemd/commit/?id=700e07f
Diffstat (limited to 'modules.d/99base')
-rwxr-xr-x | modules.d/99base/dracut-lib.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index d2c803a5..d4d1e776 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -839,9 +839,9 @@ wait_for_dev() _name="${_name##/}" _name="$(str_replace "$_name" '-' '\x2d')" _name="$(str_replace "$_name" '/' '-')" - if ! [ -L ${PREFIX}/etc/systemd/system/dracut.target.requires/${_name}.device ]; then - [ -d ${PREFIX}/etc/systemd/system/dracut.target.requires ] || mkdir -p ${PREFIX}/etc/systemd/system/dracut.target.requires - ln -s ../${_name}.device ${PREFIX}/etc/systemd/system/dracut.target.requires/${_name}.device + if ! [ -L ${PREFIX}/etc/systemd/system/initrd.target.requires/${_name}.device ]; then + [ -d ${PREFIX}/etc/systemd/system/initrd.target.requires ] || mkdir -p ${PREFIX}/etc/systemd/system/initrd.target.requires + ln -s ../${_name}.device ${PREFIX}/etc/systemd/system/initrd.target.requires/${_name}.device fi fi } |