[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-03-06 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.122ubuntu6 --- initramfs-tools (0.122ubuntu6) xenial; urgency=medium [ Andy Whitcroft ] * uuids: only apply case mapping to RFC#4122 format uuids (LP: #1553107, #1548120) [ Timo Aaltonen ] * hooks/framebuffer: Copy

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-03-05 Thread Andy Whitcroft
** Tags removed: block-proposed -- 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

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-03-04 Thread Andy Whitcroft
@hakuna_matata -- thanks for the report there, testing here confirms your findings that they are upper case on NTFS and only match with upper case. Properly the fix for this whole mess should be in util-linux in blkid as the individual formats have specific forms and only it knows what is

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-29 Thread dino99
** Changed in: initramfs-tools (Ubuntu) Status: Fix Committed => New -- 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:

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-29 Thread hakuna_matata
The fix doesn't work for UUIDs of a Windows file system. blkid uses always UUIDs in upper case for these file systems. So it fails because the fix converts all UUIDs in lower case. IMHO short UUIDs (length <= 16) should be always converted in upper case because short UUIDs are only UUIDs of a

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-24 Thread Andy Whitcroft
Ok applied and uploaded. Sorting some dependancies on other packages right now. ** Changed in: initramfs-tools (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Manoj Iyer
I was able to boot with the package/patch in your PPA. root=PARTUUID= $ cat /proc/cmdline BOOT_IMAGE=/EFI/BOOT/vmlinuz-4.3.0-8-generic boot=local earlycon=pl011,0x3ced1000 console=ttyAMA1 debug user_debug=31 loglevel=9 uefi_debug e1000e.IntMode=1 pci=pcie_bus_safe acpi=force cpuidle.off=1

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Manoj Iyer
and lower case also works. $ cat /proc/cmdline BOOT_IMAGE=/EFI/BOOT/vmlinuz-4.3.0-8-generic boot=local earlycon=pl011,0x3ced1000 console=ttyAMA1 debug user_debug=31 loglevel=9 uefi_debug e1000e.IntMode=1 pci=pcie_bus_safe acpi=force cpuidle.off=1 usb-storage.delay_use=1 rootwait rw

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Manoj Iyer
$ apt-cache policy initramfs-tools initramfs-tools: Installed: 0.122ubuntu5~rc2 Candidate: 0.122ubuntu5~rc2 Version table: *** 0.122ubuntu5~rc2 500 500 http://ppa.launchpad.net/apw/initramfs-tools-test/ubuntu xenial/main arm64 Packages 100 /var/lib/dpkg/status

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Manoj Iyer
@apw can you pls fix these dependencies in your packge? initramfs-tools : Depends: initramfs-tools-core (= 0.122ubuntu5~rc1) but it is not going to be installed initramfs-tools-core : Depends: initramfs-tools-bin (= 0.122ubuntu5~rc1) but 0.122ubuntu4 is to be installed initramfs-tools-bin is

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Andy Whitcroft
Ok, it seems that busybox tr does not actually support symbolic ranges. Rather than add a first user of awk it seems simpler to manually expand the character ranges. Specifically as the specification says the following: "The hexadecimal values "a" through "f" are output as lower case

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Andy Whitcroft
Hmm, that on the surface of things makes no sense as mini-tr exists in busybox and in theory at least supports those constructs. Blocking this in proposed while we get to the bottom of this. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-23 Thread Andy Whitcroft
** Tags added: block-proposed -- 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

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread Manoj Iyer
With the attached patch I was able to boot with root=PARUUID= $ cat /proc/cmdline BOOT_IMAGE=/EFI/BOOT/vmlinuz-4.3.0-8-generic boot=local earlycon=pl011,0x3ced1000 console=ttyAMA1 debug user_debug=31 loglevel=9 uefi_debug e1000e.IntMode=1 pci=pcie_bus_safe acpi=force cpuidle.off=1

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread Manoj Iyer
** Changed in: initramfs-tools (Ubuntu) Status: Fix Released => In Progress -- 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:

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread Manoj Iyer
Sorry here is what does not work: (initramfs) echo "81780AD9-068C-4A80-A795-56856973B8F9" | tr '[:upper:]' '[:lower:]' 81780AD9-068C-4A80-A795-56856973B8F9 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread Manoj Iyer
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)}'

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread dino99
initramfs-tools (0.122ubuntu4) xenial; urgency=medium [ Manoj Iyer ] * Add support for uppercase and lowercase uuids. (LP: #1548120) -- Andy Whitcroft Sun, 21 Feb 2016 22:12:36 + ** Changed in: initramfs-tools (Ubuntu) Status: New => Fix Released -- You

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread Ubuntu Foundations Team Bug Bot
The attachment "Patch to support uppercase and lowercase uuids" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a

[Touch-packages] [Bug 1548120] Re: [xenial][initramfs-tools] support uppercase and lowercase uuids

2016-02-22 Thread Manoj Iyer
This patch fixes this issue. I tested the functionality of this function by creating a script invoking this function as standalone. $ sudo ./test.sh + resolve_device PARTUUID=275f782b-3c55-4b3f-acb2-c17db0eaee8d + DEV=PARTUUID=275f782b-3c55-4b3f-acb2-c17db0eaee8d + case "$DEV" in + case "$DEV"