How about this patch?
It factors out the UUID= and LABEL= handling into a function, and uses that for both root= and resume= handling.
I've not tested it with anything other than a UUID resume though.
How about this patch?
It factors out the UUID= and LABEL= handling into a function, and uses that for both root= and resume= handling.
I've not tested it with anything other than a UUID resume though.