[Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids
Manoj Iyer
1548120 at bugs.launchpad.net
Tue Feb 23 00:56:28 UTC 2016
tr trick does not work in the initramfs environement.
(initramfs) echo "81780AD9-068C-4A80-A795-56856973B8F9" | cut -f 2 -d = | tr '[
:upper:]' '[:lower:]'
81780AD9-068C-4A80-A795-56856973B8F9
But awk works:
(initramfs) echo "81780ad9-068c-4a80-a795-56856973b8f9" | awk '{print tolower($0)}'
81780ad9-068c-4a80-a795-56856973b8f9
I will resubmit the patch using awk instead.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1548120
Title:
[xenial][initramfs-tools] support uppercase and lowercase uuids
Status in initramfs-tools package in Ubuntu:
Fix Released
Bug description:
Initramfs tools does not support uppercase UUIDs. Initramfs-tools
script/functions uses blkid to determine the device name from
UUID/PARTUUID but if either of those are in uppercase blkid fails to
return the name.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1548120/+subscriptions
More information about the foundations-bugs
mailing list