diff options
author | Jason Kridner <jdk@ti.com> | 2011-09-16 10:30:42 -0400 |
---|---|---|
committer | Jason Kridner <jdk@ti.com> | 2011-09-16 18:06:06 -0400 |
commit | 14350e83ac1565014650f83eaa522ce9a852cf87 (patch) | |
tree | ddb73692d01da7928f3496f5b8fd33c7045dbf13 /recipes-kernel | |
parent | 8c18ecd35e5ec335fdbaff8f70b9a96c96ab1d39 (diff) | |
download | meta-ti-14350e83ac1565014650f83eaa522ce9a852cf87.tar.gz |
linux-3.0: patch.sh: manually update git remotes
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>
Diffstat (limited to 'recipes-kernel')
-rwxr-xr-x[-rw-r--r--] | recipes-kernel/linux/linux-3.0/patch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-3.0/patch.sh b/recipes-kernel/linux/linux-3.0/patch.sh index f3d69da0..d4065fec 100644..100755 --- a/recipes-kernel/linux/linux-3.0/patch.sh +++ b/recipes-kernel/linux/linux-3.0/patch.sh | |||
@@ -5,8 +5,8 @@ | |||
5 | 5 | ||
6 | TAG="v3.0.4" | 6 | TAG="v3.0.4" |
7 | EXTRATAG="-3.0" | 7 | EXTRATAG="-3.0" |
8 | PATCHPATH=$(dirname $0) | ||
8 | 9 | ||
9 | git fetch mainline | ||
10 | git am --abort | 10 | git am --abort |
11 | git reset --hard ${TAG} | 11 | git reset --hard ${TAG} |
12 | rm export -rf | 12 | rm export -rf |
@@ -16,7 +16,7 @@ PATCHSET="pm-wip/voltdm pm-wip/cpufreq bias beagle madc sakoman sgx ulcd omap4" | |||
16 | 16 | ||
17 | # apply patches | 17 | # apply patches |
18 | for patchset in ${PATCHSET} ; do | 18 | for patchset in ${PATCHSET} ; do |
19 | git am $patchset/* && git tag "${patchset}${EXTRATAG}" -f | 19 | git am $PATCHPATH/$patchset/* && git tag "${patchset}${EXTRATAG}" -f |
20 | done | 20 | done |
21 | 21 | ||
22 | # export patches and output SRC_URI for them | 22 | # export patches and output SRC_URI for them |