Patchwork [1/2] lsbinitscripts: Don't compile

login
register
mail settings
Submitter Saul Wold
Date Dec. 19, 2012, 1:14 a.m.
Message ID <1355879668-22733-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/41313/
State New
Headers show

Comments

Saul Wold - Dec. 19, 2012, 1:14 a.m.
Only functions macros is installed, so no need to configure or compile

[YOCTO #3584]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/lsb/lsbinitscripts_9.03.bb |    3 +++
 1 file changed, 3 insertions(+)
Saul Wold - Dec. 19, 2012, 5:15 a.m.
really 1/1 some randomness happened and 2/2 never made it to the list!

Sau!

On 12/18/2012 05:14 PM, Saul Wold wrote:
> Only functions macros is installed, so no need to configure or compile
>
> [YOCTO #3584]
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>   meta/recipes-extended/lsb/lsbinitscripts_9.03.bb |    3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
> index eac4ebb..e32a50c 100644
> --- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
> +++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
> @@ -19,7 +19,10 @@ ALTERNATIVE_PRIORITY = "100"
>   ALTERNATIVE_${PN} = "functions"
>   ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
>
> +# Since we are only taking the patched version of functions, no need to
> +# configure or compile anything so do not execute these
>   do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
>
>   do_install(){
>   	install -d ${D}${sysconfdir}/init.d/
>

Patch

diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
index eac4ebb..e32a50c 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
+++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
@@ -19,7 +19,10 @@  ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "functions"
 ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
 
+# Since we are only taking the patched version of functions, no need to
+# configure or compile anything so do not execute these
 do_configure[noexec] = "1" 
+do_compile[noexec] = "1" 
 
 do_install(){
 	install -d ${D}${sysconfdir}/init.d/