* Update SRCREV doesn't work?
@ 2017-07-04 16:13 Ngọc Thi Huỳnh
2017-07-04 17:08 ` Stefano Babic
0 siblings, 1 reply; 6+ messages in thread
From: Ngọc Thi Huỳnh @ 2017-07-04 16:13 UTC (permalink / raw)
To: Yocto
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]
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.
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
Content of swupdate_2017.04.bb:
> require swupdate.inc
>
> SRCREV = "d344ec10b71293d2aaf96816266d4e6ed1d3bf6a"
>
Content of swupdate_git.bb
> require swupdate.inc
>
> DEFAULT_PREFERENCE = "-1"
>
A snippet of swupdate.inc
> SRCREV = "${AUTOREV}"
>
Thanks,
Huỳnh Ngọc Thi
-so61pi
[-- Attachment #2: Type: text/html, Size: 1987 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Update SRCREV doesn't work?
2017-07-04 16:13 Update SRCREV doesn't work? Ngọc Thi Huỳnh
@ 2017-07-04 17:08 ` Stefano Babic
2017-07-05 2:09 ` Ngọc Thi Huỳnh
0 siblings, 1 reply; 6+ messages in thread
From: Stefano Babic @ 2017-07-04 17:08 UTC (permalink / raw)
To: Ngọc Thi Huỳnh, Yocto
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
>
> Content of swupdate_2017.04.bb <http://swupdate_2017.04.bb>:
>
> require swupdate.inc
>
> SRCREV = "d344ec10b71293d2aaf96816266d4e6ed1d3bf6a"
>
>
> Content of 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@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Update SRCREV doesn't work?
2017-07-04 17:08 ` Stefano Babic
@ 2017-07-05 2:09 ` Ngọc Thi Huỳnh
2017-07-05 6:43 ` Stefano Babic
0 siblings, 1 reply; 6+ messages in thread
From: Ngọc Thi Huỳnh @ 2017-07-05 2:09 UTC (permalink / raw)
To: Stefano Babic; +Cc: Yocto
[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]
Hi,
I guess I'll remove build/tmp directory and rebuild everything from scratch.
I'll post the result later then.
BTW, thank you so much for writing swupdate.
Best Regards,
Thi Huynh
Huỳnh Ngọc Thi
-so61pi
On Wed, Jul 5, 2017 at 12:08 AM, Stefano Babic <sbabic@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
> >
> > Content of swupdate_2017.04.bb <http://swupdate_2017.04.bb>:
> >
> > require swupdate.inc
> >
> > SRCREV = "d344ec10b71293d2aaf96816266d4e6ed1d3bf6a"
> >
> >
> > Content of 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@denx.de
> =====================================================================
>
[-- Attachment #2: Type: text/html, Size: 3510 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Update SRCREV doesn't work?
2017-07-05 2:09 ` Ngọc Thi Huỳnh
@ 2017-07-05 6:43 ` Stefano Babic
2017-07-08 15:12 ` Ngọc Thi Huỳnh
0 siblings, 1 reply; 6+ messages in thread
From: Stefano Babic @ 2017-07-05 6:43 UTC (permalink / raw)
To: Ngọc Thi Huỳnh, Stefano Babic; +Cc: Yocto
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@denx.de
> <mailto:sbabic@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@denx.de <mailto:sbabic@denx.de>
> =====================================================================
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Update SRCREV doesn't work?
2017-07-05 6:43 ` Stefano Babic
@ 2017-07-08 15:12 ` Ngọc Thi Huỳnh
2017-07-08 17:43 ` Stefano Babic
0 siblings, 1 reply; 6+ messages in thread
From: Ngọc Thi Huỳnh @ 2017-07-08 15:12 UTC (permalink / raw)
To: Stefano Babic; +Cc: Yocto
[-- Attachment #1: Type: text/plain, Size: 3422 bytes --]
Hi Babic,
I think the problem is from
> meta-swupdate-boards/recipes-support/swupdate/swupdate_%.bbappend
>
The file contains
> SRCREV = "${AUTOREV}"
>
which overwrites SRCREV in
> meta-swupdate/recipes-support/swupdate/swupdate_2017.04.bb
>
After removing that line, everything is fine now.
Best Regards,
Thi Huynh
Huỳnh Ngọc Thi
-so61pi
On Wed, Jul 5, 2017 at 1:43 PM, Stefano Babic <sbabic@denx.de> wrote:
> 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@denx.de
> > <mailto:sbabic@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@denx.de <mailto:sbabic@denx.de>
> > ============================================================
> =========
> >
> >
>
[-- Attachment #2: Type: text/html, Size: 6079 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Update SRCREV doesn't work?
2017-07-08 15:12 ` Ngọc Thi Huỳnh
@ 2017-07-08 17:43 ` Stefano Babic
0 siblings, 0 replies; 6+ messages in thread
From: Stefano Babic @ 2017-07-08 17:43 UTC (permalink / raw)
To: Ngọc Thi Huỳnh, Stefano Babic; +Cc: Yocto
Hi Thi Huynh,
On 08/07/2017 17:12, Ngọc Thi Huỳnh wrote:
> Hi Babic,
>
> I think the problem is from
>
> meta-swupdate-boards/recipes-support/swupdate/swupdate_%.bbappend
>
>
> The file contains
>
> SRCREV = "${AUTOREV}"
>
>
> which overwrites SRCREV in
>
> meta-swupdate/recipes-support/swupdate/swupdate_2017.04.bb
> <http://swupdate_2017.04.bb>
>
>
> After removing that line, everything is fine now.
There is a commit 10 days ago that has already fix this. Check
met-swupdate-boards, -master.
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@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-07-08 17:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-04 16:13 Update SRCREV doesn't work? Ngọc Thi Huỳnh
2017-07-04 17:08 ` Stefano Babic
2017-07-05 2:09 ` Ngọc Thi Huỳnh
2017-07-05 6:43 ` Stefano Babic
2017-07-08 15:12 ` Ngọc Thi Huỳnh
2017-07-08 17:43 ` Stefano Babic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.