Hi,

I am looking at the YP Reference manual and the example in this section uses 
meta/recipes-sato/tasks/task-poky.bb, which doesn’t seem to exist in the Poky 
tree.   Since the example in the section 3.2.2 is created just for 
instructional purposes I am going to get rid of the reference to the 
‘meta/recipes-sato/tasks/task-poky.bb’ path.

To make the example correct, can I simply insert the ‘ALLOW_EMPTY = “1” 
statement as follows:


DESCRIPTION = "My Custom Tasks"

     PACKAGES = "\
         task-custom-apps \
         task-custom-apps-dbg \
         task-custom-apps-dev \
         task-custom-tools \


         task-custom-tools-dbg \
         task-custom-tools-dev \
         "



     ALLOW_EMPTY = "1"

     RDEPENDS_task-custom-apps = "\
         dropbear \
         portmap \
         psplash"

     RDEPENDS_task-custom-tools = "\


         oprofile \
         oprofileui-server \
         lttng-control \
         lttng-viewer"

     RRECOMMENDS_task-custom-tools = "\
         kernel-module-oprofile"


From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Marc Ferland
Sent: Thursday, November 10, 2011 12:48 PM
To: yocto@yoctoproject.org
Subject: [yocto] Yocto reference manual: error in given example

Hi,

The example given in section 3.2.2 is missing a:

inherit task

instruction.

Could also have been ALLOW_EMPTY = "1".

I realized this after a couple hours of debugging!

Regards,

Marc
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to