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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1548120

Title:
  [xenial][initramfs-tools] support uppercase and lowercase uuids

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1548120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to