Patchwork linux-dummy: catch up with image.bbclass changes

login
register
mail settings
Submitter Koen Kooi
Date Dec. 2, 2013, 12:04 p.m.
Message ID <1385985877-6840-1-git-send-email-koen.kooi@linaro.org>
Download mbox | patch
Permalink /patch/62655/
State Accepted
Commit baf77657191bd64d715af425e0aaa2223d641863
Headers show

Comments

Koen Kooi - Dec. 2, 2013, 12:04 p.m.
image.bbclass now depends on virtual/kernel:do_deploy, so add a task for that.

This fixes errors like this:

	ERROR: Task do_build in /build/linaro/build/meta-linaro/meta-linaro/recipes-linaro/images/linaro-image-lng.bb depends upon non-existent task do_deploy in /build/linaro/build/openembedded-core/meta/recipes-kernel/linux/linux-dummy.bb

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/recipes-kernel/linux/linux-dummy.bb | 6 ++++++
 1 file changed, 6 insertions(+)
Philip Balister - Dec. 3, 2013, 12:20 p.m.
I saw the same issue and this patch resolved the problem.

Tested-by: Philip Balister <philip@balister.org>

On 12/02/2013 07:04 AM, Koen Kooi wrote:
> image.bbclass now depends on virtual/kernel:do_deploy, so add a task for that.
> 
> This fixes errors like this:
> 
> 	ERROR: Task do_build in /build/linaro/build/meta-linaro/meta-linaro/recipes-linaro/images/linaro-image-lng.bb depends upon non-existent task do_deploy in /build/linaro/build/openembedded-core/meta/recipes-kernel/linux/linux-dummy.bb
> 
> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> ---
>  meta/recipes-kernel/linux/linux-dummy.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
> index 8a211da..1c837c9 100644
> --- a/meta/recipes-kernel/linux/linux-dummy.bb
> +++ b/meta/recipes-kernel/linux/linux-dummy.bb
> @@ -31,6 +31,12 @@ do_install() {
>  do_bundle_initramfs() {
>          :
>  }
> +
> +do_deploy() {
> +	:
> +}
> +
>  do_bundle_initramfs[nostamp] = "1"
>  addtask bundle_initramfs after do_compile
> +addtask deploy after do_install
>  
>

Patch

diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
index 8a211da..1c837c9 100644
--- a/meta/recipes-kernel/linux/linux-dummy.bb
+++ b/meta/recipes-kernel/linux/linux-dummy.bb
@@ -31,6 +31,12 @@  do_install() {
 do_bundle_initramfs() {
         :
 }
+
+do_deploy() {
+	:
+}
+
 do_bundle_initramfs[nostamp] = "1"
 addtask bundle_initramfs after do_compile
+addtask deploy after do_install