mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6d7bcd4df5
commit
3b823fe744
@@ -60,7 +60,7 @@ inherit ${EFI_CLASS}
|
||||
|
||||
AUTO_SYSLINUXCFG = "1"
|
||||
DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}"
|
||||
SYSLINUX_ROOT ?= "root=/dev/sda2"
|
||||
SYSLINUX_ROOT ?= "root=UUID=<<uuid-of-rootfs>>"
|
||||
SYSLINUX_TIMEOUT ?= "10"
|
||||
|
||||
IS_VM = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2"], "true", "false", d)}'
|
||||
|
||||
Reference in New Issue
Block a user