[OE-core] [PATCH 3/4] pointercal-xinput: add the missing ALLOW_EMPTY

Hongxu Jia hongxu.jia at windriver.com
Fri Nov 7 07:57:03 UTC 2014


Since the do_install conditionally install file if it has a contents,
it should allow the package empty.

It avoids the do_rootfs failure while IMAGE_INSTALL += "pointercal-xinput"

[YOCTO #6937]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
index 65348c3..ebc5155 100644
--- a/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
+++ b/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb
@@ -16,5 +16,6 @@ do_install() {
     fi
 }
 
+ALLOW_EMPTY_${PN} = "1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
-- 
1.9.1




More information about the Openembedded-core mailing list