diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 00:51:14 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 00:54:18 +0000 |
commit | 3176e14998adc35f9e07af1b1afc4a5801cb8a3d (patch) | |
tree | 2be167aed6bf7c755fd53c2e5c9d121963f4c658 | |
parent | b666b55230d7d017e147366cc64fd105efb5bae4 (diff) |
packaged-staging.bbclass: Add method to disable packaged-staging from recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | classes/packaged-staging.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index 3b99e39ed9..1c5c4cd531 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -48,6 +48,9 @@ python () { if bb.data.inherits_class('image', d): pstage_allowed = False + if bb.data.getVar('PSTAGING_DISABLED', d, True) == "1": + pstage_allowed = False + # Add task dependencies if we're active, otherwise mark packaged staging # as inactive. if pstage_allowed: |