From 14350e83ac1565014650f83eaa522ce9a852cf87 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Fri, 16 Sep 2011 10:30:42 -0400 Subject: [PATCH] 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 --- recipes-kernel/linux/linux-3.0/patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 recipes-kernel/linux/linux-3.0/patch.sh 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 f3d69da0..d4065fec --- 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