From 7638f803735d92fc7b1b6501922b60caa0aecf37 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 31 Dec 2014 19:30:58 +0100 Subject: [PATCH] Use UUID in resume --- src/modules/bootloader/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index ccd4715a4..c1fc9243f 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -65,7 +65,7 @@ def create_conf(uuid, conf_path): 'title %s GNU/Linux, with Linux core repo kernel\n' % distribution, 'linux %s\n' % kernel, 'initrd %s\n' % img, - 'options root=UUID=%s quiet resume=%s rw\n' % (uuid, swap), + 'options root=UUID=%s quiet resume=UUID=%s rw\n' % (uuid, swap), ] with open(conf_path, 'w') as f: @@ -91,7 +91,7 @@ def create_fallback(uuid, fallback_path): 'title %s GNU/Linux, with Linux fallback kernel\n' % distribution, 'linux %s\n' % kernel, 'initrd %s\n' % fb_img, - 'options root=UUID=%s quiet resume=%s rw\n' % (uuid, swap), + 'options root=UUID=%s quiet resume=UUID=%s rw\n' % (uuid, swap), ] with open(fallback_path, 'w') as f: