Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] meta-ide-support: set noexec for tasks
@ 2016-08-30  8:08 jackie.huang
  2016-08-30  8:40 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: jackie.huang @ 2016-08-30  8:08 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

The recipe is to generate an environment script in
do_populate_ide_support for using an IDE, the tasks
listed are not needed, so set 'noexec' for them.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-core/meta/meta-ide-support.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/meta/recipes-core/meta/meta-ide-support.bb b/meta/recipes-core/meta/meta-ide-support.bb
index 86c57cd..ee87a45 100644
--- a/meta/recipes-core/meta/meta-ide-support.bb
+++ b/meta/recipes-core/meta/meta-ide-support.bb
@@ -9,6 +9,19 @@ PR = "r3"
 
 inherit meta toolchain-scripts
 
+do_fetch[noexec] = "1"
+do_unpack[noexec] = "1"
+do_patch[noexec] = "1"
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+do_install[noexec] = "1"
+do_package[noexec] = "1"
+do_packagedata[noexec] = "1"
+do_package_write_ipk[noexec] = "1"
+do_package_write_rpm[noexec] = "1"
+do_package_write_deb[noexec] = "1"
+do_populate_sysroot[noexec] = "1"
+
 do_populate_ide_support () {
   toolchain_create_tree_env_script
 }
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] meta-ide-support: set noexec for tasks
  2016-08-30  8:08 [PATCH] meta-ide-support: set noexec for tasks jackie.huang
@ 2016-08-30  8:40 ` Richard Purdie
  2016-08-30  9:13   ` Huang, Jie (Jackie)
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2016-08-30  8:40 UTC (permalink / raw)
  To: jackie.huang, openembedded-core

On Tue, 2016-08-30 at 16:08 +0800, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> The recipe is to generate an environment script in
> do_populate_ide_support for using an IDE, the tasks
> listed are not needed, so set 'noexec' for them.

Would "inherit nopackage" help here and simplify this patch a bit?

Cheers,

Richard


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] meta-ide-support: set noexec for tasks
  2016-08-30  8:40 ` Richard Purdie
@ 2016-08-30  9:13   ` Huang, Jie (Jackie)
  0 siblings, 0 replies; 3+ messages in thread
From: Huang, Jie (Jackie) @ 2016-08-30  9:13 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core@lists.openembedded.org



> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie@linuxfoundation.org]
> Sent: Tuesday, August 30, 2016 4:41 PM
> To: Huang, Jie (Jackie); openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] meta-ide-support: set noexec for tasks
> 
> On Tue, 2016-08-30 at 16:08 +0800, jackie.huang@windriver.com wrote:
> > From: Jackie Huang <jackie.huang@windriver.com>
> >
> > The recipe is to generate an environment script in
> > do_populate_ide_support for using an IDE, the tasks
> > listed are not needed, so set 'noexec' for them.
> 
> Would "inherit nopackage" help here and simplify this patch a bit?

Ah, sorry I didn't know there is such a bbclass. Yes, it works and simplify the patch.
I will send v2 for this.

Thanks,
Jackie

> 
> Cheers,
> 
> Richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-30  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30  8:08 [PATCH] meta-ide-support: set noexec for tasks jackie.huang
2016-08-30  8:40 ` Richard Purdie
2016-08-30  9:13   ` Huang, Jie (Jackie)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox