Skip to contentSkip to conversation

linux-yocto: yocto-bsp-tools custom qemuppc fix

PATCH New Bruce Ashfield 1 participant 2 messages Sep 23, 2013

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: yocto-bsp-tools custom qemuppc fix

Richard/Saul,

Every relase, TomZ's BSP tools manage to uncover something up with kernel management tweaks .. they are a great regression test.

This time is no exception. We found an issue with BSPs that inherit and branch from qemuppc. The fix is in the tools, and is a minor tweak to the way that a series of non "git am" patches are handled when importing them to the tree.

I did regression tests via my other patching layers, and all shows fine with this fix in place.

Cheers,

Bruce

The following changes since commit bf6b0d95db3863a2cfbccb154c0c7ad5b3bbf0b0:

glib-2.0: fix broken python script header on machines using buildtools (2013-09-22 12:23:35 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (1):
kern-tools: fix multi patch application without headers

 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 kern-tools: fix multi patch application without headers

Updating the kern-tools SRCREV to import the following change:

kgit-s2q: always update ORIG_HEAD after applying changes

In situations where git am fails to apply patches, and git apply is used, we must update ORIG_HEAD as well as HEAD. This is required, since if the next patch in the queue also fails git am application, it will reset to ORIG_HEAD before using git apply. If we haven't updated ORIG_HEAD, we'll end up warping back to the top of the branch each time.

This problem can only be seen in very specific situations, in particular if a generated BSP branches from qemuppc, and has a series of non git "am able" patches. We fail, since all of the qemuppc patches are not applied due to the branch head constantly being reset.

---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -1
index 6cfb624..8c68ff3 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
 
 DEPENDS = "git-native"
 
-SRCREV = "9bbdd79086c164c82e4f982cbc3eb0b697ba651d"
+SRCREV = "a42509b01ccfe5020a226b23d3a52c07b3fb2051"
 PR = "r12"
 PV = "0.2+git${SRCPV}"
 
Signature · 1 line
1.7.10.4