Fedora: Link graphical-target.wants to the virtual display-manager.service, not the specific prefdm.service.

This commit is contained in:
Bill Nottingham 2010-10-28 13:27:49 -04:00 committed by Lennart Poettering
parent c980a27940
commit 6b2a56f04c

View File

@ -1176,9 +1176,6 @@ if TARGET_FEDORA
$(DESTDIR)$(systemunitdir)/rescue.target.wants \ $(DESTDIR)$(systemunitdir)/rescue.target.wants \
$(DESTDIR)$(systemunitdir)/multi-user.target.wants \ $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
$(DESTDIR)$(systemunitdir)/final.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 && \ ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
rm -f rc-local.service && \ rm -f rc-local.service && \
$(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
@ -1204,6 +1201,9 @@ if TARGET_FEDORA
( cd $(DESTDIR)$(systemunitdir) && \ ( cd $(DESTDIR)$(systemunitdir) && \
rm -f display-manager.service && \ rm -f display-manager.service && \
$(LN_S) prefdm.service 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 endif
if TARGET_GENTOO if TARGET_GENTOO
( cd $(DESTDIR)$(pkgsysconfdir)/system && \ ( cd $(DESTDIR)$(pkgsysconfdir)/system && \