diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-09-03 20:42:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-06 15:26:26 +0100 |
commit | 3b823fe74429e7af6259ac15aac54cb7e8744ada (patch) | |
tree | 2328535986b1d9d69458cba29e153582fbd2cbad /meta | |
parent | 6d7bcd4df5722f3ccebbbf73361838cb0a5dc0ee (diff) | |
download | poky-3b823fe74429e7af6259ac15aac54cb7e8744ada.tar.gz |
boot-directdisk.bbclass: use rootfs UUID by default
This changes the default SYSLINUX_ROOTFS such that the rootfs is no
longer expected under a fixed device path. Instead, the UUID is used
to find it. This makes the resulting .hdddirect (and thus also the
vdi/vdmk/qcow2 images derived from that) more flexible.
(From OE-Core rev: 8ca8e2e5bf4a9f01dc48300149a8e1d71d715400)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/boot-directdisk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index 600e21abcf..7cb0ab071f 100644 --- a/meta/classes/boot-directdisk.bbclass +++ b/meta/classes/boot-directdisk.bbclass | |||
@@ -60,7 +60,7 @@ inherit ${EFI_CLASS} | |||
60 | 60 | ||
61 | AUTO_SYSLINUXCFG = "1" | 61 | AUTO_SYSLINUXCFG = "1" |
62 | DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}" | 62 | DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}" |
63 | SYSLINUX_ROOT ?= "root=/dev/sda2" | 63 | SYSLINUX_ROOT ?= "root=UUID=<<uuid-of-rootfs>>" |
64 | SYSLINUX_TIMEOUT ?= "10" | 64 | SYSLINUX_TIMEOUT ?= "10" |
65 | 65 | ||
66 | IS_VM = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2"], "true", "false", d)}' | 66 | IS_VM = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2"], "true", "false", d)}' |