From: compudj Date: Mon, 5 Feb 2007 14:32:14 +0000 (+0000) Subject: update scripts X-Git-Tag: v0.12.20~1131 X-Git-Url: https://git.lttng.org/?p=lttv.git;a=commitdiff_plain;h=38773ce9fa42ba85d1502907b6524beb478e35e5 update scripts git-svn-id: http://ltt.polymtl.ca/svn@2358 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/scripts/git-diff b/scripts/git-diff index ffc8ec19..89ecb6fa 100755 --- a/scripts/git-diff +++ b/scripts/git-diff @@ -1,3 +1,3 @@ #!/bin/sh -git-diff-tree -p -r v2.6.20-rc6 lttng-$1-for-v2.6.20-rc6 > ../patch-2.6.20-rc6-lttng-$1-all.diff +git-diff-tree -p -r v2.6.20 lttng-$1-for-v2.6.20 > ../patch-2.6.20-lttng-$1-all.diff diff --git a/scripts/lttng-6-split-script.sh b/scripts/lttng-6-split-script.sh index 0ef108dd..c1e68e9f 100755 --- a/scripts/lttng-6-split-script.sh +++ b/scripts/lttng-6-split-script.sh @@ -12,7 +12,7 @@ function wr () { PRENAME=patch -NAME=-2.6.20-rc6-lttng-$1 +NAME=-2.6.20-lttng-$1 ALL_NAME=${PRENAME}${NAME}-all.diff VALUE=1 printf -v COUNT "%02d" ${VALUE} @@ -34,6 +34,16 @@ for a in *; do rm $a.tmp; done +#hotfix 2.6.20 +FILE=../${PRENAME}${COUNT}${NAME}-hotfix.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-powerpc_prom.h" + +for a in $IN; do wr $a $FILE; done + + #for hotplug FILE=../${PRENAME}${COUNT}${NAME}-relay.diff VALUE=$(( ${VALUE} + 1 )) @@ -189,7 +199,9 @@ FILE=../${PRENAME}${COUNT}${NAME}-atomic-powerpc.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} -IN="?_include_asm-powerpc_atomic.h" +IN="?_include_asm-powerpc_atomic.h +?_include_asm-powerpc_bitops.h +?_include_asm-powerpc_system.h" for a in $IN; do wr $a $FILE; done