]> code.ossystems Code Review - openembedded-core.git/commit
init-install-efi: Implement UUID support
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 10 Jun 2015 14:49:32 +0000 (17:49 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jun 2015 10:38:14 +0000 (11:38 +0100)
commitf51b050e0df6ceaea07fbda99f54dc4aeaab334c
tree1c82f5fcb5ee8b4f3467d16542b96dec89b5501d
parentf1a4b8e0b3fb065e3b63185f1b98481d4078a851
init-install-efi: Implement UUID support

Using UUID in favor of device names is more reliable as
UUID names are persistent.

Device names can change as the order of adding device nodes
is arbitrary. This sometimes results in device names switching
on each boot, which can cause system fail to boot.
Persistent naming solves these issues.

Used partition UUID in kernel command line to specify root partition.
Used partition UUID in /etc/fstab to specify swap partition.
Used filesystem UUID in /etc/fstab to specify boot partition.

[YOCTO #6101]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
meta/recipes-core/initrdscripts/files/init-install-efi.sh