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
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to