]> code.ossystems Code Review - openembedded-core.git/commit
boot-directdisk.bbclass: use local HDDDIR
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 6 Aug 2014 15:43:55 +0000 (08:43 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Aug 2014 09:46:58 +0000 (10:46 +0100)
commit1891c39a359e983bb8fd7992b7b5a1aaac11baf7
treec39a48a91d4bd0294c51e83d364db534bd6579ad
parente59045dfe888eaab439758a40004b468790f24f6
boot-directdisk.bbclass: use local HDDDIR

Use $HDDDIR rather than ${HDDDIR} in build_boot_dd(), otherwise may
errors:
- Set these in local.conf:
  IMAGE_FSTYPES += "live"
  IMAGE_FSTYPES += "vmdk"
  AUTO_SYSLINUXMENU = "1"
  NOHDD = "1"

$ bitbake core-image-sato
  DEBUG: Executing shell function build_boot_dd
  install: cannot create regular file
  `/path/to/core-image-sato-1.0/hddimg//vesamenu.c32': No such file or directory
  WARNING: exit code 1 from a shell command.

This because it uses the ${HDDDIR} which is set in bootimg.bbclass, use
local HDDDIR which is set in build_boot_dd() will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/boot-directdisk.bbclass