[yocto] Update SRCREV doesn't work?

Stefano Babic sbabic at denx.de
Tue Jul 4 23:43:51 PDT 2017


Hi Huynh,

On 05/07/2017 04:09, Ngọc Thi Huỳnh wrote:
> Hi,
> 
> I guess I'll remove build/tmp directory and rebuild everything from scratch.
> I'll post the result later then.
>

The recipe for beaglebone was dropped from meta-swupdate. I moved the
examples for bbb and raspi into a separate layer (meta-swupdate-boards,
-master).

> BTW, thank you so much for writing swupdate.

You're welcome.

> 
Best regards,
Stefano Babic

> Best Regards,
> Thi Huynh
> 
> Huỳnh Ngọc Thi
> -so61pi
> 
> On Wed, Jul 5, 2017 at 12:08 AM, Stefano Babic <sbabic at denx.de
> <mailto:sbabic at denx.de>> wrote:
> 
>     Hi,
> 
>     On 04/07/2017 18:13, Ngọc Thi Huỳnh wrote:
>     > Hi everyone,
>     >
>     > I'm using poky pyro to build a beaglebone image with swupdate.
>     >
>     > First time I built swupdate (by bitbake swupdate), it used the latest
>     > git version and I encountered an make error which related to swupdate only.
>     >
>     > Then I changed swupdate version to 2017.04 (by using
>     > PREFERRED_VERSION_swupdate = "2017.04") but the bitbake still used the
>     > latest git version and I had the make error again.
>     >
> 
>     I cannot confirm this. I have built a custom board and setting
>     PREFERRED_VERSION_swupdate works without issues.
> 
>     > But when I used devshell and changed the git revision to 2017.04 then
>     > do_configure and do_compile, everything went fine.
>     >
>     > My question is, is there a simple way to solve this problem?
>     >
>     > /Note:/
>     > The swupdate recipes for beaglebone that I'm using are from
>     > https://github.com/sbabic/meta-swupdate
>     <https://github.com/sbabic/meta-swupdate>
>     >
>     > Content of swupdate_2017.04.bb <http://swupdate_2017.04.bb>
>     <http://swupdate_2017.04.bb>:
>     >
>     >     require swupdate.inc
>     >
>     >     SRCREV = "d344ec10b71293d2aaf96816266d4e6ed1d3bf6a"
>     >
>     >
>     > Content of swupdate_git.bb <http://swupdate_git.bb>
>     <http://swupdate_git.bb>
>     >
>     >     require swupdate.inc
>     >
>     >     DEFAULT_PREFERENCE = "-1"
>     >
>     >
>     > A snippet of swupdate.inc
>     >
>     >     SRCREV = "${AUTOREV}"
>     >
>     >
> 
>     Best regards,
>     Stefano Babic
> 
> 
>     --
>     =====================================================================
>     DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
>     HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>     Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email:
>     sbabic at denx.de <mailto:sbabic at denx.de>
>     =====================================================================
> 
> 



More information about the yocto mailing list