Merge ~aciba/ubuntu/+source/hibagent:lp1896638-path-to-swapfile-by-uuid-bionic into ubuntu/+source/hibagent:ubuntu/bionic-devel
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merge reported by: | Robie Basak | ||||
| Merged at revision: | bebafc513ad64708db5d98188883b5f71057bf91 | ||||
| Proposed branch: | ~aciba/ubuntu/+source/hibagent:lp1896638-path-to-swapfile-by-uuid-bionic | ||||
| Merge into: | ubuntu/+source/hibagent:ubuntu/bionic-devel | ||||
| Diff against target: |
64 lines (+42/-0) 3 files modified
debian/changelog (+8/-0) debian/patches/lp1896638-set-resume-device-by-partition-uuid.patch (+33/-0) debian/patches/series (+1/-0) |
||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Simon Chopin (community) | Approve | ||
|
Review via email:
|
|||
Description of the change
Cherry-picked upstream fixes 43636fcf and 0f995e80 in pkg/ubuntu/
* d/p/lp1896638-
by PARTUUID instead of by name. Thanks to Tony Nie <email address hidden>.
(LP: #1896638)
Please tag & sponsor.
PPA: ppa:aciba/
Steps to test:
* Launch an EC2 instance
# sudo /usr/bin/
* The resume partition is set by device name:
$ grep no_console /boot/grub/grub.cfg
... no_console_
* Start a new EC2 instance. This is easier than manually reverting the state back (swap and config files).
# sudo apt-add-repository -ys ppa:aciba/
# sudo apt install -y hibagent
# sudo /usr/bin/
* Make sure the agent is active and running:
# systemctl status hibagent
* Make sure the swap is correctly configured:
$ swapon --show
NAME TYPE SIZE USED PRIO
/swap file 3.9G 512K -2
* Make sure the resume partition is defined by uuid:
$ grep no_console /boot/grub/grub.cfg
... no_console_

Uploaded, with a small adjustment to the version number.