Commit 312393b0 authored by Ben Hutchings's avatar Ben Hutchings

hooks/resume: Reject zram swap devices when selecting automatically

zram is ephemeral (it's a compressed RAM disk) so we must not use it.

Closes: #861228
Signed-off-by: Ben Hutchings's avatarBen Hutchings <>
parent 4c0d86c4
......@@ -56,6 +56,13 @@ if ! ischroot && [ -r /proc/swaps ]; then
done < /etc/crypttab
# zram is ephemeral
case "$resume_auto" in
$ephemeral || break
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment