@@ -163,6 +163,7 @@ dist_tmpfiles_DATA = \
163163dist_systemunit_DATA = \
164164 units/emergency.service \
165165 units/emergency.target \
166+ units/sysinit.target \
166167 units/basic.target \
167168 units/getty.target \
168169 units/halt.target \
@@ -215,7 +216,6 @@ dist_systemunit_DATA = \
215216 units/systemd-ask-password-plymouth.path
216217
217218nodist_systemunit_DATA = \
218- units/sysinit.target \
219219 units/getty@.service \
220220 units/serial-getty@.service \
221221 units/graphical.target \
@@ -247,7 +247,8 @@ nodist_systemunit_DATA = \
247247 units/kexec.service \
248248 units/fsck@.service \
249249 units/fsck-root.service \
250- units/quotacheck.service
250+ units/quotacheck.service \
251+ units/rescue.service
251252
252253dist_sessionunit_DATA = \
253254 units/session/default.target \
@@ -258,12 +259,12 @@ nodist_sessionunit_DATA = \
258259 units/session/exit.service
259260
260261EXTRA_DIST = \
261- units/sysinit.target.m4 \
262262 units/getty@.service.m4 \
263263 units/serial-getty@.service.m4 \
264264 units/graphical.target.m4 \
265265 units/multi-user.target.m4 \
266266 units/remote-fs.target.m4 \
267+ units/rescue.service.m4 \
267268 units/systemd-initctl.service.in \
268269 units/systemd-logger.service.in \
269270 units/systemd-shutdownd.service.in \
@@ -299,7 +300,6 @@ dist_systemunit_DATA += \
299300 units/fedora/prefdm.service \
300301 units/fedora/rc-local.service \
301302 units/fedora/halt-local.service \
302- units/fedora/single.service \
303303 units/fedora/plymouth-start.service \
304304 units/fedora/plymouth-quit.service \
305305 units/fedora/plymouth-reboot.service \
@@ -924,7 +924,7 @@ SED_PROCESS = \
924924 -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME ) ,g' \
925925 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL ) ,g' \
926926 -e 's,@prefix\@,$(prefix ) ,g' \
927- < $< > $@
927+ < $< > $@ || rm $@
928928
929929units/% : units/% .in Makefile
930930 $(SED_PROCESS )
@@ -937,11 +937,11 @@ man/%: man/%.in Makefile
937937
938938M4_PROCESS_SYSTEM = \
939939 $(AM_V_GEN )$(MKDIR_P ) $(dir $@ ) && \
940- $(M4 ) -P $(M4_DISTRO_FLAG ) -DFOR_SYSTEM=1 < $< > $@
940+ $(M4 ) -P $(M4_DISTRO_FLAG ) -DFOR_SYSTEM=1 < $< > $@ || rm $@
941941
942942M4_PROCESS_SESSION = \
943943 $(AM_V_GEN )$(MKDIR_P ) $(dir $@ ) && \
944- $(M4 ) -P $(M4_DISTRO_FLAG ) -DFOR_SESSION=1 < $< > $@
944+ $(M4 ) -P $(M4_DISTRO_FLAG ) -DFOR_SESSION=1 < $< > $@ || rm $@
945945
946946units/% : units/% .m4 Makefile
947947 $(M4_PROCESS_SYSTEM )
@@ -1184,9 +1184,6 @@ if TARGET_FEDORA
11841184 ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \
11851185 rm -f halt-local.service && \
11861186 $(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
1187- ( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \
1188- rm -f single.service && \
1189- $(LN_S) $(systemunitdir)/single.service single.service )
11901187 ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
11911188 rm -f plymouth-quit.service && \
11921189 $(LN_S) ../plymouth-quit.service plymouth-quit.service )
0 commit comments