crosswalk-extraconf.inc: disable crosswalk-dbg package
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 28 Jan 2015 14:24:09 +0000 (06:24 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Wed, 28 Jan 2015 14:24:09 +0000 (06:24 -0800)
When enabled, it gets so large (?) that the "installed"
size entry in the package feed turns into an invalid "None".
To work around this tools issue, disable the package.

This leads to QA warnings about installed but not packaged
files. This needs to be solved separately, ideally by not having
these files generated in the first place.

Change-Id: I991604395839a430ecc7a8fc878d75728ce63cad

meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-extraconf.inc

index 821ab57..ad60c1c 100644 (file)
@@ -39,6 +39,16 @@ crosswalk-dbg_files += "/usr/lib/xwalk/.debug/xwalk"
 
 FILES_${PN}-dbg += "${crosswalk-dbg_files}"
 
+# Unfortunately building crosswalk-dbg breaks Yocto tools, perhaps
+# because the unpacked size is so large that it overflows (theory untested).
+# The result is an invalid installed="None" in the channels xml files.
+# It should have the number of bytes used after installation. This
+# breaks the "smart" command during do_rootfs:
+#   File "/data/yocto/build/tizen-distro/ivi/x86_64/tmp-glibc/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/smart/backends/rpm/metadata.py", line 242, in load
+#    info["installed_size"] = int(elem.get("installed"))
+# As a workaround, disable building that package.
+PACKAGES_remove = "${PN}-dbg"
+
 pkg_postinst_${PN}() {
     #!/bin/sh -e