7e3be77ef8
- Update to 0.8.6.1: + Fix systemd path file generation - Changes from 0.8.6: + fix flush_area fast-path + seed random number generator by default for script plugins + allow plymouth to be built without gtk dependency + cope with lack of /etc/os-release better + pull in systemd unit files (bnc#770890) + add support for new "updates" mode for doing package updates (only available for some plugins at the moment) - Add plymouth-restore-suspend.patch: revert commit removing suspend/resume support, needed for suspend package. - Add plymouth-systemd-target.patch: add missing symlinks to start plymouth on shutdown / reboot / kexec (bnc#770764). - Add plymouth-udevadm-path.patch: adapt to udevadm path on openSUSE. - Ensure systemctl daemon-reload is called in post / postun - Add systemd-no-warning.patch: remove Documentation tag not handled by systemd v44. - Update stop-graphical.patch to correct prevent plymouth.quit to start under runlevel 5 (handled by xdm initscript directly). OBS-URL: https://build.opensuse.org/request/show/128720 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=68
42 lines
2.0 KiB
Diff
42 lines
2.0 KiB
Diff
diff --git a/systemd-units/Makefile.am b/systemd-units/Makefile.am
|
|
index 1545a04..94ef49e 100644
|
|
--- a/systemd-units/Makefile.am
|
|
+++ b/systemd-units/Makefile.am
|
|
@@ -13,6 +13,36 @@ systemd_unit_templates = \
|
|
if ENABLE_SYSTEMD_INTEGRATION
|
|
systemdunitdir=$(SYSTEMD_UNIT_DIR)
|
|
systemdunit_DATA = $(systemd_unit_templates:.in=)
|
|
+
|
|
+install-data-hook:
|
|
+ $(MKDIR_P) -m 0755 \
|
|
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/sysinit.target.wants \
|
|
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/multi-user.target.wants \
|
|
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/reboot.target.wants \
|
|
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/kexec.target.wants \
|
|
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/poweroff.target.wants \
|
|
+ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/halt.target.wants
|
|
+ ( cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/sysinit.target.wants && \
|
|
+ rm -f plymouth-start.service plymouth-read-write.service && \
|
|
+ $(LN_S) ../plymouth-start.service plymouth-start.service && \
|
|
+ $(LN_S) ../plymouth-read-write.service plymouth-read-write.service )
|
|
+ ( cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/multi-user.target.wants && \
|
|
+ rm -f plymouth-quit.service plymouth-quit-wait.service && \
|
|
+ $(LN_S) ../plymouth-quit.service plymouth-quit.service && \
|
|
+ $(LN_S) ../plymouth-quit-wait.service plymouth-quit-wait.service )
|
|
+ ( cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/reboot.target.wants && \
|
|
+ rm -f plymouth-reboot.service && \
|
|
+ $(LN_S) ../plymouth-reboot.service plymouth-reboot.service )
|
|
+ ( cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/kexec.target.wants && \
|
|
+ rm -f plymouth-kexec.service && \
|
|
+ $(LN_S) ../plymouth-kexec.service plymouth-kexec.service )
|
|
+ ( cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/poweroff.target.wants && \
|
|
+ rm -f plymouth-poweroff.service && \
|
|
+ $(LN_S) ../plymouth-poweroff.service plymouth-poweroff.service )
|
|
+ ( cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/halt.target.wants && \
|
|
+ rm -f plymouth-halt.service && \
|
|
+ $(LN_S) ../plymouth-halt.service plymouth-halt.service )
|
|
+
|
|
endif
|
|
|
|
EXTRA_DIST = $(systemd_unit_templates) $(systemdunit_DATA)
|