Patchwork [1/2] sstate: add do_package to the noexec list in setscene_depvalid

login
register
mail settings
Submitter Ming Liu
Date Jan. 7, 2014, 8:13 a.m.
Message ID <1389082433-19396-1-git-send-email-ming.liu@windriver.com>
Download mbox | patch
Permalink /patch/64203/
State Accepted
Commit e93a345fae7c21652547bec501fcb1f3b6c6427d
Headers show

Comments

Ming Liu - Jan. 7, 2014, 8:13 a.m.
do_package doesn't exist and are noexec anyway for native/cross/crosssdk
packages.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 meta/classes/sstate.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 2b5b7cd..35c3f85 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -710,7 +710,7 @@  def setscene_depvalid(task, taskdependees, notneeded, d):
                 return False
             continue
         # Native/Cross packages don't exist and are noexec anyway
-        if isNativeCross(taskdependees[dep][0]) and taskdependees[dep][1] in ['do_package_write_deb', 'do_package_write_ipk', 'do_package_write_rpm', 'do_packagedata']:
+        if isNativeCross(taskdependees[dep][0]) and taskdependees[dep][1] in ['do_package_write_deb', 'do_package_write_ipk', 'do_package_write_rpm', 'do_packagedata', 'do_package']:
             continue
 
         # Consider sysroot depending on sysroot tasks