diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-10 03:19:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-13 18:23:33 +0100 |
commit | b52d2bb46ed7c893077ccf9e5a83dc7f11c7f61b (patch) | |
tree | d09c22794d2a190eab85e3b51029ba5453948fe5 /scripts/jhbuild/modulesets | |
parent | f9625c227f8d0d35d9f722a3570e82896c2a975c (diff) | |
download | poky-b52d2bb46ed7c893077ccf9e5a83dc7f11c7f61b.tar.gz |
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.
(From OE-Core rev: 4382a419b4c90312d22aa55ff535b45bcf704716)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Acked-by: Darren hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/jhbuild/modulesets')
0 files changed, 0 insertions, 0 deletions