From 32f30112f52b8a5b06e6f7c532aa05917be87311 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Wed, 6 Jun 2012 09:47:50 +0000 Subject: [PATCH] hv-cfg: package images to hv-cfg-image images are required to be included in full rootfs. Signed-off-by: Ting Liu --- meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb b/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb index 22c08a2f..60847f51 100644 --- a/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb +++ b/meta-fsl-ppc/recipes-tools/hv-cfg/hv-cfg_git.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Hypervisor Config" SECTION = "hv-cfg" LICENSE = "BSD" -PR = "r4" +PR = "r5" LIC_FILES_CHKSUM = " \ file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ @@ -23,13 +23,22 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git" S = "${WORKDIR}/git" -do_deploy () { +do_install () { make install + M=`echo ${MACHINE} | sed s/-64b//g` + install -d ${D}/boot/hv-cfg + cp -r ${S}/${M}/${M}/* ${D}/boot/hv-cfg +} + +do_deploy () { M=`echo ${MACHINE} | sed s/-64b//g` install -d ${DEPLOYDIR}/hv-cfg cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/hv-cfg } addtask deploy after do_install +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + ALLOW_EMPTY_${PN} = "1" -- 2.40.1