Skip to contentSkip to conversation

gnulib: use deltask instead of noexec

PATCH New Mark Asselstine 1 participant 1 message Mar 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnulib: use deltask instead of noexec

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]

---
 meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb +3 -3
index b505ac1..b72ffa9 100644
@@ -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"
Signature · 1 line
2.7.4