From: Jason Kridner Date: Fri, 16 Sep 2011 14:30:42 +0000 (-0400) Subject: linux-3.0: patch.sh: manually update git remotes X-Git-Tag: v2012.05-yocto1.2~358 X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fmeta-ti-glsdk.git;a=commitdiff_plain;h=14350e83ac1565014650f83eaa522ce9a852cf87 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 Cc: Koen Kooi --- diff --git a/recipes-kernel/linux/linux-3.0/patch.sh b/recipes-kernel/linux/linux-3.0/patch.sh old mode 100644 new mode 100755 index f3d69da..d4065fe --- a/recipes-kernel/linux/linux-3.0/patch.sh +++ b/recipes-kernel/linux/linux-3.0/patch.sh @@ -5,8 +5,8 @@ TAG="v3.0.4" EXTRATAG="-3.0" +PATCHPATH=$(dirname $0) -git fetch mainline git am --abort git reset --hard ${TAG} rm export -rf @@ -16,7 +16,7 @@ PATCHSET="pm-wip/voltdm pm-wip/cpufreq bias beagle madc sakoman sgx ulcd omap4" # 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