Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28504 - [mkinitcpio] allow LABEL and UUID for resume parameter
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Saturday, 18 February 2012, 14:59 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 March 2012, 02:27 GMT
Opened by Matthias Dienstbier (fs4000) - Saturday, 18 February 2012, 14:59 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 March 2012, 02:27 GMT
|
DetailsIf we use resolve_device in the resume hook, it would be possible to use something like resume=LABEL=Swap or resume=UUID=... as it is possible for the root parameter.
Simple patch is attached but there might be better solutions as vanilla hibernation only needs major and minor. Tuxonice is not considered at all. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 25 March 2012, 02:27 GMT
Reason for closing: Implemented
Additional comments about closing: testing/mkinitcpio-0.8.5
Sunday, 25 March 2012, 02:27 GMT
Reason for closing: Implemented
Additional comments about closing: testing/mkinitcpio-0.8.5
resume.patch
If you test for valid content of $resume you could also treat y as invalid as the user most likely has used resume without a value.
Due for 0.8.5