diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-10 03:19:45 +0000 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-11 16:07:24 -0700 |
commit | 4382a419b4c90312d22aa55ff535b45bcf704716 (patch) | |
tree | 42bd0a51a5f707ad77b5854043f4739c257ab3d9 /meta/recipes-sato/leafpad | |
parent | fbc198113548783e326eebbb6b28b181528e900f (diff) | |
download | openembedded-core-4382a419b4c90312d22aa55ff535b45bcf704716.tar.gz openembedded-core-4382a419b4c90312d22aa55ff535b45bcf704716.tar.bz2 openembedded-core-4382a419b4c90312d22aa55ff535b45bcf704716.zip |
boot-directdisk: allow specifying custom MBR disk signature
This introduces a DISK_SIGNATURE variable that allows controlling the
32-bit MBR disk signature. By default it is set to an automatically
generated disk signature but it may by overridden in the image recipe
by setting DISK_SIGNATURE to a 8 digit hex string.
This DISK_SIGNATURE variable can also be used in the image recipe to
specify the root by UUID using:
SYSLINUX_ROOT = "root=PARTUUID=${DISK_SIGNATURE}-02"
Specifying the root by UUID allows the kernel to locate the root
filesystem even if the device name changes (e.g. /dev/hda2, /dev/hdb2 or
/dev/sdb2 instead of /dev/sda2) due to differences in hardware
configuration.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Acked-by: Darren hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta/recipes-sato/leafpad')
0 files changed, 0 insertions, 0 deletions