All of lore.kernel.org
 help / color / mirror / Atom feed
* How to compute SRCREV for a github project
@ 2018-11-06 16:10 Laurentiu-Cristian Duca
  2018-11-06 19:19 ` Belisko Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu-Cristian Duca @ 2018-11-06 16:10 UTC (permalink / raw)
  To: yocto

Dear yocto community,

  A basic question regarding yocto and git.
How to compute the SRCREV for the linux-raspberrypi_4.14.bb recipe:
$ cat meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.14.bb
LINUX_VERSION ?= "4.14.68"
SRCREV = "8c8666ff6c1254d325cfa300d16f9928b3f31fc0"
SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y"
...

  If I want to change to LINUX_VERSION 4.14.74 (for example),
how will I compute or get the SRCREV for this version
(please note that I am not interested in AUTOREV)?
The command "git log -50" lists the latest 50 commits
and a 40-bit signature for each commit, but does not show the kernel version.

  I have searched google but no response found.

Thank you and best regards,
Laurentiu-Cristian Duca


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to compute SRCREV for a github project
  2018-11-06 16:10 How to compute SRCREV for a github project Laurentiu-Cristian Duca
@ 2018-11-06 19:19 ` Belisko Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Belisko Marek @ 2018-11-06 19:19 UTC (permalink / raw)
  To: Laurentiu-Cristian Duca; +Cc: yocto

Hi,


On Tue, Nov 6, 2018 at 5:10 PM Laurentiu-Cristian Duca
<laurentiu.duca@gmail.com> wrote:
>
> Dear yocto community,
>
>   A basic question regarding yocto and git.
> How to compute the SRCREV for the linux-raspberrypi_4.14.bb recipe:
> $ cat meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.14.bb
> LINUX_VERSION ?= "4.14.68"
> SRCREV = "8c8666ff6c1254d325cfa300d16f9928b3f31fc0"
> SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y"
> ...
>
>   If I want to change to LINUX_VERSION 4.14.74 (for example),
> how will I compute or get the SRCREV for this version
SRCREV is git commit id from 4.14.74 (so if you checkout 4.14.74 tag
just run git log -1 and copy git commit ID to SRCREV and it will
work).
> (please note that I am not interested in AUTOREV)?
> The command "git log -50" lists the latest 50 commits
> and a 40-bit signature for each commit, but does not show the kernel version.
>
>   I have searched google but no response found.
>
> Thank you and best regards,
> Laurentiu-Cristian Duca
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-06 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06 16:10 How to compute SRCREV for a github project Laurentiu-Cristian Duca
2018-11-06 19:19 ` Belisko Marek

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.