How to fetch source code only?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to fetch source code only?

Jump to solution
2,372 Views
coindu
Contributor IV

Hi , comminity:

        I have downloaded L4.19.35bsp, now I just want to download the source package first.

        But when executing the command 

        bitbake imx-image-full -c fetchall

        It will prompt without this command.

        

ERROR: Task do_fetchall does not exist for target imx-image-full (/home/duxy/L4.19.35/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/imx-image-full.bb:do_fetchall). Close matches:
do_fetch
ERROR: Command execution failed: 1

         how to do it ?

Labels (1)
0 Kudos
1 Solution
2,257 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Coin Du,

There was a change on the latest Poky releases where the way the commands are handled.

$ bitbake <IMAGE_OR_RECIPE> –c fetchall

Was deprecated in favor of:

$ bitbake <IMAGE_OR_RECIPE> --runall=fetch

So please try using this command instead.

Regards,

View solution in original post

1 Reply
2,258 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Coin Du,

There was a change on the latest Poky releases where the way the commands are handled.

$ bitbake <IMAGE_OR_RECIPE> –c fetchall

Was deprecated in favor of:

$ bitbake <IMAGE_OR_RECIPE> --runall=fetch

So please try using this command instead.

Regards,