diff options
Diffstat (limited to 'meta/classes/boot-directdisk.bbclass')
-rw-r--r-- | meta/classes/boot-directdisk.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index 89007e315b..fcdef26fd8 100644 --- a/meta/classes/boot-directdisk.bbclass +++ b/meta/classes/boot-directdisk.bbclass @@ -53,14 +53,13 @@ def pcbios_class(d): PCBIOS = "${@pcbios(d)}" PCBIOS_CLASS = "${@pcbios_class(d)}" +# Get the build_syslinux_cfg() function from the syslinux class inherit ${PCBIOS_CLASS} inherit ${EFI_CLASS} -# Get the build_syslinux_cfg() function from the syslinux class - DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}" -SYSLINUX_ROOT ?= "root=/dev/sda2" -SYSLINUX_TIMEOUT ?= "10" +SYSLINUX_ROOT_VM ?= "root=/dev/sda2" +SYSLINUX_CFG_VM ?= "${S}/syslinux_hdd.cfg" boot_direct_populate() { dest=$1 @@ -162,6 +161,7 @@ build_boot_dd() { python do_bootdirectdisk() { validate_disk_signature(d) if d.getVar("PCBIOS", True) == "1": + syslinux_set_vars(d, 'VM') bb.build.exec_func('build_syslinux_cfg', d) if d.getVar("EFI", True) == "1": bb.build.exec_func('build_efi_cfg', d) |