]> err.no Git - systemd/commitdiff
Fedora: Link graphical-target.wants to the virtual display-manager.service, not the...
authorBill Nottingham <notting@redhat.com>
Thu, 28 Oct 2010 17:27:49 +0000 (13:27 -0400)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Oct 2010 14:28:28 +0000 (16:28 +0200)
Makefile.am

index 80a9207bb2afaec878a22d9cb9f3ba1e419def66..7e6a7b1826b80ca61bf0d4654b8cdaad650f0a6b 100644 (file)
@@ -1176,9 +1176,6 @@ if TARGET_FEDORA
                $(DESTDIR)$(systemunitdir)/rescue.target.wants \
                $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
                $(DESTDIR)$(systemunitdir)/final.target.wants
-       ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
-               rm -f prefdm.service && \
-               $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
        ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
                rm -f rc-local.service && \
                $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
@@ -1204,6 +1201,9 @@ if TARGET_FEDORA
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f display-manager.service && \
                $(LN_S) prefdm.service display-manager.service )
+       ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
+               rm -f display-manager.service && \
+               $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
 endif
 if TARGET_GENTOO
        ( cd $(DESTDIR)$(pkgsysconfdir)/system && \