95rootfs-block: fix PARTUUID parsing
authorBrandon Philips <brandon@ifup.co>
Tue, 23 Jul 2013 01:17:02 +0000 (18:17 -0700)
committerHarald Hoyer <harald@redhat.com>
Wed, 24 Jul 2013 08:23:09 +0000 (10:23 +0200)
commitf17c5fa573206a5de452cb521d0495a5191d123a
treef9aea1408c7070c47005f9604eba324fd90a4daa
parent99369bea1ce68263b7c454316e022095210486ae
95rootfs-block: fix PARTUUID parsing

In the kernel comments PARTUUID is shown using uppercase A-F:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/init/do_mounts.c?id=HEAD#n183

However, dracut tries to use the value of PARTUUID directly in
/dev/disks/by-partuuid/ which expects the hex to be lowercase. This will
cause root to never be found, oops!

Fix dracut so it can, like the Kernel, accept either casing.

Untested but I added a hack on my local system that was similar.
modules.d/95rootfs-block/module-setup.sh
modules.d/95rootfs-block/parse-block.sh