hooks/resume: Fix validation of resume devices specified by UUID etc.
The validation of the resume device in this hook has apparently never worked for devices specified by UUID or label because only 'blkid -t' handles those, not 'blkid -p'. Use the shared function resolve_device to translate with 'blkid -t' if necessary. Closes: #861057 Signed-off-by: Ben Hutchings <email@example.com>
Showing with 9 additions and 3 deletions