diff -Nru initramfs-tools-0.92bubuntu65/debian/changelog initramfs-tools-0.92bubuntu65+pcjc2.1/debian/changelog --- initramfs-tools-0.92bubuntu65/debian/changelog 2010-02-17 12:35:26.000000000 +0000 +++ initramfs-tools-0.92bubuntu65+pcjc2.1/debian/changelog 2010-02-21 16:11:01.000000000 +0000 @@ -1,3 +1,9 @@ +initramfs-tools (0.92bubuntu65+pcjc2.1) lucid; urgency=low + + * Update resume variable to /dev/disk/by-uuid/ type. + + -- Peter Clifton Sun, 21 Feb 2010 16:10:07 +0000 + initramfs-tools (0.92bubuntu65) lucid; urgency=low * scripts/init-premount/blacklist: Move to init-top so it has a chance diff -Nru initramfs-tools-0.92bubuntu65/init initramfs-tools-0.92bubuntu65+pcjc2.1/init --- initramfs-tools-0.92bubuntu65/init 2010-02-17 12:35:26.000000000 +0000 +++ initramfs-tools-0.92bubuntu65+pcjc2.1/init 2010-02-21 15:53:56.000000000 +0000 @@ -193,7 +193,7 @@ done if [ -z "${noresume}" ]; then - export resume=${RESUME} + export resume="/dev/disk/by-uuid/${RESUME#UUID=}" else export noresume fi diff -Nru initramfs-tools-0.92bubuntu65/scripts/local-premount/resume initramfs-tools-0.92bubuntu65+pcjc2.1/scripts/local-premount/resume --- initramfs-tools-0.92bubuntu65/scripts/local-premount/resume 2010-02-17 12:35:26.000000000 +0000 +++ initramfs-tools-0.92bubuntu65+pcjc2.1/scripts/local-premount/resume 2010-02-21 16:29:24.000000000 +0000 @@ -24,7 +24,7 @@ SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5}) case "${SWAPTYPE}" in - s1suspend|s2suspend|ulsuspend|tuxonice) + swsuspend|s1suspend|s2suspend|ulsuspend|tuxonice) # hardcode path, uswsusp ships an resume binary too if [ -n "${resume_offset}" ]; then /bin/resume ${resume} ${resume_offset} >/dev/null 2>&1