Hi,
On Tue, Nov 6, 2018 at 5:10 PM Laurentiu-Cristian Duca <laurentiu.d...@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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto