summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c18ecd)
raw | patch | inline | side by side (parent: 8c18ecd)
author | Jason Kridner <jdk@ti.com> | |
Fri, 16 Sep 2011 14:30:42 +0000 (10:30 -0400) | ||
committer | Jason Kridner <jdk@ti.com> | |
Fri, 16 Sep 2011 22:06:06 +0000 (18:06 -0400) |
Not everyone names their origin or upstream as 'mainline'. This should be
something that can be done ahead of running the script.
Also marked the script as executable.
Signed-off-by: Jason Kridner <jdk@ti.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
something that can be done ahead of running the script.
Also marked the script as executable.
Signed-off-by: Jason Kridner <jdk@ti.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
recipes-kernel/linux/linux-3.0/patch.sh | [changed mode: 0644->0755] | patch | blob | history |
TAG="v3.0.4"
EXTRATAG="-3.0"
+PATCHPATH=$(dirname $0)
-git fetch mainline
git am --abort
git reset --hard ${TAG}
rm export -rf
# apply patches
for patchset in ${PATCHSET} ; do
- git am $patchset/* && git tag "${patchset}${EXTRATAG}" -f
+ git am $PATCHPATH/$patchset/* && git tag "${patchset}${EXTRATAG}" -f
done
# export patches and output SRC_URI for them