]> code.ossystems Code Review - openembedded-core.git/commit
boot-directdisk.bbclass: Fix media generation problems with vmdk
authorJason Wessel <jason.wessel@windriver.com>
Tue, 17 Sep 2013 13:32:17 +0000 (13:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Sep 2013 16:27:23 +0000 (17:27 +0100)
commit63d164b755b984021f7e3cdba7280918ded6e821
treed788c10282650ecc6254e74119360f29e83d624e
parent17d74fbd09e377e100423e1a73b9d4ce761a21d7
boot-directdisk.bbclass: Fix media generation problems with vmdk

The various populate methods need to accept a path as an argument vs
using hard expanded variables.  In the case of the boot-directdisk
class it uses a different path for HDDDIR but it gets eclipsed by the
the class definition at the point in time ${HDDDIR} gets expanded.

The logical fix is to pass the arguments to the functions as opposed
to using globally expanded variables from the class definitions.

This patch changes 3 things:
1) syslinux_hddimg_populate takes an argument for the destination
2) syslinux_iso_populate takes an argument for the destination
3) populate is changed to boot_direct_populate because there
   was a conflict with it overriding the populate in bootimg.bbclass

[YOCTO #3994]

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/boot-directdisk.bbclass
meta/classes/bootimg.bbclass
meta/classes/grub-efi.bbclass
meta/classes/syslinux.bbclass