grub does an out of tree build so ${S} points to the wrong place for binaries.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- meta-luv/recipes-bsp/grub/grub_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-bsp/grub/grub_git.bb b/meta-luv/recipes-bsp/grub/grub_git.bb index 8d42537..ea85a48 100644 --- a/meta-luv/recipes-bsp/grub/grub_git.bb +++ b/meta-luv/recipes-bsp/grub/grub_git.bb @@ -52,14 +52,14 @@ do_configure_prepend() { do_install_append () { install -d ${D}${sysconfdir}/grub.d #install -m 0755 ${WORKDIR}/40_custom ${D}${sysconfdir}/grub.d/40_custom - install -m 0755 ${S}/${GRUB_IMAGE} ${D}${bindir} + install -m 0755 ${B}/${GRUB_IMAGE} ${D}${bindir}
}
do_deploy() { install -d ${DEPLOYDIR} - install -m 0755 ${S}/${GRUB_IMAGE} ${DEPLOYDIR} + install -m 0755 ${B}/${GRUB_IMAGE} ${DEPLOYDIR} } addtask deploy after do_install before do_build