From: Harald Hoyer Date: Wed, 11 Nov 2015 11:16:13 +0000 (+0100) Subject: dracut-systemd/module-setup.sh: remove duplicate vconsole wants X-Git-Tag: 044~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64c34f34593984d93d4781f1e5fa008871e11963;p=thirdparty%2Fdracut.git dracut-systemd/module-setup.sh: remove duplicate vconsole wants Adding the dependency on vconsole is already done in the 00systemd module and the rescue.service has this already in the unit file. --- diff --git a/modules.d/98dracut-systemd/module-setup.sh b/modules.d/98dracut-systemd/module-setup.sh index d9175573c..900162c3e 100755 --- a/modules.d/98dracut-systemd/module-setup.sh +++ b/modules.d/98dracut-systemd/module-setup.sh @@ -43,17 +43,6 @@ install() { inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator - for i in \ - emergency.target \ - rescue.service \ - systemd-ask-password-console.service \ - systemd-ask-password-plymouth.service \ - ; do - mkdir -p "${initdir}${systemdsystemunitdir}/${i}.wants" - ln_r "${systemdsystemunitdir}/systemd-vconsole-setup.service" \ - "${systemdsystemunitdir}/${i}.wants/systemd-vconsole-setup.service" - done - mkdir -p "${initdir}/$systemdsystemunitdir/initrd.target.wants" for i in \ dracut-cmdline.service \