[pkg-cryptsetup-devel] System resume issues
ben at decadent.org.uk
Sat Aug 31 19:31:50 UTC 2013
On Sun, 2013-08-18 at 21:02 +0200, Rodolfo García Peñas wrote:
> Possible solution:
> - Create a new package (for example, resume-base).
I still don't see why a new package is needed. I suggested linux-base
and you said 'uswsusp doesn't need the kernel package (you can boot from
a floppy)'. But linux-base doesn't require you to install any kernel
package (and floppies are soooo 20th century).
> - Resume base provides a debconf file to configure the resume file.
I don't think this is necessary. The installer writes a default now and
should continue to do so. On upgrade, the initramfs-tools or uswsusp
resume configuration (if present) should be copied to this file. Anyone
who wants to change this can probably deal with a little text file.
> This file is stored at /etc/resume. The user can configure
> the /etc/resume file with dpkg-reconfigure resume-base. The file
> contains two lines, resume and offset info.
It's usual practice now to include '.conf' at the end of configuration
file names. Also, it might also be worth looking at where other
distributions store this configuration.
> - initramfs-tools and uswsusp depend on resume-base.
> - initramfs-tools and uswsusp use the info in /etc/resume as resume device and resume offset.
> - initramfs-tools and uswsusp provides an alternative to /bin/resume.
This only makes sense if the two implementations of resume provide
compatible command-line interfaces.
> - Other packages need update their configuration scripts to use /etc/resume.
If God had intended Man to program,
we'd have been born with serial I/O ports.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 828 bytes
Desc: This is a digitally signed message part
More information about the pkg-cryptsetup-devel