From 38773ce9fa42ba85d1502907b6524beb478e35e5 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 5 Feb 2007 14:32:14 +0000 Subject: [PATCH] update scripts git-svn-id: http://ltt.polymtl.ca/svn@2358 04897980-b3bd-0310-b5e0-8ef037075253 --- scripts/git-diff | 2 +- scripts/lttng-6-split-script.sh | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) 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 -- 2.34.1