Commit Message

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>
---
meta/classes/boot-directdisk.bbclass | 16 ++++++++--------
meta/classes/bootimg.bbclass | 8 ++++----
meta/classes/grub-efi.bbclass | 13 +++++++------
meta/classes/syslinux.bbclass | 12 +++++++-----
4 files changed, 26 insertions(+), 23 deletions(-)