Frozen version :  This is frozen until bugs are found.  (This post contains
the patch and the next post the full script.)

Boot script:   scripts/local-premount/resume

Summary of changes from current initramfs-tools production version:

- /bin/resume is not used any more and its function of echoing
  major:minor on to /sys/power/resume is done in the script itself

- The major and minor device number is found using the stat built-in
  of busybox

- The check logic is identical to that of original /bin/resume (which
  means not only block but also character special files are allowed!)

- Device TYPE detection method:  Tries blkid first for RESUMEDELAY
  seconds, and if that fails then falls back to the original behaviour of
  calling wait-for-root with a wait value of RESUMEDELAY seconds
.

** Attachment added: "Patch file for frozen version"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/983805/+attachment/3091727/+files/initramfs-tools-resume-boot-script-diff.v6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/983805

Title:
  Resume boot script fix makes /bin/resume unnecessary (kernel's
  internal swsusp)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/983805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to