From: Bill Nottingham Date: Thu, 28 Oct 2010 17:27:49 +0000 (-0400) Subject: Fedora: Link graphical-target.wants to the virtual display-manager.service, not the... X-Git-Tag: v12~106 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6b2a56f04c333facb06fadedccc614271849d853 Fedora: Link graphical-target.wants to the virtual display-manager.service, not the specific prefdm.service. --- diff --git a/Makefile.am b/Makefile.am index 80a9207bb..7e6a7b182 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 && \