Merge ~jefferyto/ubuntu/+source/initramfs-tools:ubuntu-core-dev-fix-resume-device-type-check into ~ubuntu-core-dev/ubuntu/+source/initramfs-tools:ubuntu/devel
Proposed by
Jeffery To
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Benjamin Drung | ||||
Merged at revision: | 9abaa2d1f16d8a8055a4406de127d1eb2e2e3630 | ||||
Proposed branch: | ~jefferyto/ubuntu/+source/initramfs-tools:ubuntu-core-dev-fix-resume-device-type-check | ||||
Merge into: | ~ubuntu-core-dev/ubuntu/+source/initramfs-tools:ubuntu/devel | ||||
Diff against target: |
15 lines (+3/-2) 1 file modified
hooks/resume (+3/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benjamin Drung | Approve | ||
Review via email:
|
Description of the change
I had assumed the existing check worked; after some testing I found it does not.
To post a comment you must log in.
I fail to reproduce the misbehavior. `resolve_device` returns with an exit code in case no device was found and `blkid -p -n swap $device` returns with exit code 2 in case that device is not a swap partition.
Can you provide logs showing which command misbehaved?