chiark / gitweb /
hibernate-resume-generator: add a generator for instantiating the resume unit.
authorIvan Shapovalov <intelfx100@gmail.com>
Tue, 26 Aug 2014 20:17:45 +0000 (00:17 +0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Aug 2014 20:19:56 +0000 (22:19 +0200)
commitd2c68822c47e37b582820f45b496b2e7d1f9e642
tree72471270bb16e7369a37f182866fd1e6aa66e07f
parent42483a747489ff46aed3588b78bf4b9480dbeaf7
hibernate-resume-generator: add a generator for instantiating the resume unit.

hibernate-resume-generator understands resume= kernel command line parameter
and instantiates the systemd-resume@.service accordingly if it is passed.

This enables resume from hibernation using device specified on the kernel
command line, and it may be specified either as "/dev/disk/by-foo/bar"
or "FOO=bar", not only "/dev/sdXY" which is understood by the in-kernel
implementation.

So now resume= is brought on par with root= in terms of possible ways to
specify a device.
.gitignore
Makefile-man.am
Makefile.am
man/kernel-command-line.xml
man/systemd-hibernate-resume-generator.xml [new file with mode: 0644]
src/resume-generator/Makefile [new symlink]
src/resume-generator/resume-generator.c [new file with mode: 0644]