[oe] [meta-oe][PATCH] gnulib: use deltask instead of noexec

Mark Asselstine mark.asselstine at windriver.com
Wed Mar 7 16:12:18 UTC 2018


When building an image which included 'netcf' I saw the following
warning which is followed by a python backtrace:

  WARNING: cube-dom0-0.6-r0 do_rootfs: \
  Manifest .../manifest-x86_64_x86_64-nativesdk-gnulib.package_write_rpm \
  not found in genericx86_64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk \
  (variant '')?

>From this we find that the 'gnulib' package would fail the manifest
crosscheck for the 'package_write_rpm' task. By switching from
'noexec' to 'deltask' for this task (and its "siblings") we completely
remove the task and thus there is not crosscheck to fail.

NOTE that there is a pending merge which will change the backtrace for
a proper ERROR: [package_manager.py: Print offending package instead
of non-sense trace]

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb b/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
index b505ac1..b72ffa9 100644
--- a/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
+++ b/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
@@ -29,8 +29,8 @@ do_configure[noexec] = "1"
 do_compile[noexec] = "1"
 do_package[noexec] = "1"
 do_packagedata[noexec] = "1"
-do_package_write_ipk[noexec] = "1"
-do_package_write_deb[noexec] = "1"
-do_package_write_rpm[noexec] = "1"
+deltask package_write_ipk
+deltask package_write_deb
+deltask package_write_rpm
 
 BBCLASSEXTEND = "native"
-- 
2.7.4




More information about the Openembedded-devel mailing list