From 9301072deb2a015aef5bd892263b0ff8ab816547 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 10 Apr 2014 13:12:06 -0700 Subject: ref-manual: Updated the DISK_SIGNATURE description. Fixes [YOCTO #6125] Did some re-writing based on Jonathin Liu's feedback. (From yocto-docs rev: bee4a584bcb1e70e9848324781c32d1d9e3d1fc2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 35 +++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 8 deletions(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7219fe6d2f..7a8ca3b94e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1620,26 +1620,45 @@ DISK_SIGNATURE - Automatically generated random signature that allows the - OpenEmbedded build system to create a boot - loader configuration. - DISK_SIGNATURE is different each time - a directdisk image is built. + A 32-bit MBR disk signature used by + directdisk images. The "live" option used with IMAGE_FSTYPES produces an image file that can be copied directly to a CD or USB device and run as is. - The auto-generated DISK_SIGNATURE sets - SYSLINUX_ROOT as follows: + By default, the signature is set to an automatically + generated random value that allows the OpenEmbedded + build system to create a boot loader. + You can override the signature in the image recipe + by setting DISK_SIGNATURE to an + 8-digit hex string. + You might want to override + DISK_SIGNATURE if you want the disk + signature to remain constant between image builds. + + + + When using Linux 3.8 or later, you can use + DISK_SIGNATURE to specify the root + by UUID to allow the kernel to locate the root device + even if the device name changes due to differences in + hardware configuration. + By default, SYSLINUX_ROOT is set + as follows: + + SYSLINUX_ROOT = "root=/dev/sda2" + + However, you can change this to locate the root device + using the disk signature instead: SYSLINUX_ROOT = "root=PARTUUID=${DISK_SIGNATURE}-02" - It is possible to set the + As previously mentioned, it is possible to set the DISK_SIGNATURE variable in your local.conf file to a fixed value if you do not want syslinux.cfg -- cgit v1.2.3-54-g00ecf