From 42483a747489ff46aed3588b78bf4b9480dbeaf7 Mon Sep 17 00:00:00 2001 From: Ivan Shapovalov Date: Wed, 27 Aug 2014 00:17:44 +0400 Subject: hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume. This can be used to initiate a resume from hibernation by path to a swap device containing the hibernation image. The respective templated unit is also added. It is instantiated using path to the desired resume device. --- Makefile.am | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cbf98bdac3..a487caa7bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -378,7 +378,8 @@ rootlibexec_PROGRAMS = \ systemd-sleep \ systemd-bus-proxyd \ systemd-socket-proxyd \ - systemd-update-done + systemd-update-done \ + systemd-hibernate-resume systemgenerator_PROGRAMS = \ systemd-getty-generator \ @@ -528,7 +529,8 @@ nodist_systemunit_DATA = \ units/initrd-udevadm-cleanup-db.service \ units/initrd-switch-root.service \ units/systemd-nspawn@.service \ - units/systemd-update-done.service + units/systemd-update-done.service \ + units/systemd-hibernate-resume@.service dist_userunit_DATA = \ units/user/basic.target \ @@ -575,7 +577,8 @@ EXTRA_DIST += \ units/initrd-udevadm-cleanup-db.service.in \ units/initrd-switch-root.service.in \ units/systemd-nspawn@.service.in \ - units/systemd-update-done.service.in + units/systemd-update-done.service.in \ + units/systemd-hibernate-resume@.service.in CLEANFILES += \ units/console-shell.service.m4 \ @@ -2102,6 +2105,14 @@ systemd_delta_SOURCES = \ systemd_delta_LDADD = \ libsystemd-shared.la +# ------------------------------------------------------------------------------ +systemd_hibernate_resume_SOURCES = \ + src/hibernate-resume/hibernate-resume.c + +systemd_hibernate_resume_LDADD = \ + libsystemd-internal.la \ + libsystemd-shared.la + # ------------------------------------------------------------------------------ systemd_getty_generator_SOURCES = \ src/getty-generator/getty-generator.c -- cgit v1.2.3-54-g00ecf