rpms/kernel/devel/scripts rebase.sh,1.24,1.24.6.1
Michael Young
myoung at fedoraproject.org
Wed Feb 25 21:26:33 UTC 2009
- Previous message: rpms/torsmo/devel torsmo.spec,1.5,1.6
- Next message: rpms/kernel/devel build-with-fno-dwarf2-cfi-asm.patch, NONE, 1.1.2.2 drm-edid-revision-0-should-be-valid.patch, NONE, 1.1.2.2 linux-2.6-v4l-dvb-update.patch, NONE, 1.1.2.2 patch-2.6.29-rc6-git2.bz2.sign, NONE, 1.1.2.2 .cvsignore, 1.1014.2.3, 1.1014.2.4 config-generic, 1.238.6.4, 1.238.6.5 config-powerpc-generic, 1.33.6.1, 1.33.6.2 config-x86-generic, 1.68.6.1, 1.68.6.2 config-x86_64-generic, 1.68.2.2, 1.68.2.3 drm-intel-next.patch, 1.4.6.1, 1.4.6.2 drm-modesetting-radeon.patch, 1.54.6.1, 1.54.6.2 kernel.spec, 1.1294.2.6, 1.1294.2.7 linux-2.6-debug-dma-api.patch, 1.2, 1.2.6.1 sources, 1.976.2.4, 1.976.2.5 upstream, 1.888.2.3, 1.888.2.4 xen.pvops.patch, 1.1.2.5, 1.1.2.6 xen.pvops.post.patch, 1.1.2.2, 1.1.2.3 xen.pvops.pre.patch, 1.1.2.2, 1.1.2.3 linux-2.6-ext4-ENOSPC-debug.patch, 1.1.2.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: myoung
Update of /cvs/pkgs/rpms/kernel/devel/scripts
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5149/scripts
Modified Files:
Tag: private-myoung-dom0-branch
rebase.sh
Log Message:
Another pvops patch which fixes an smp mtrr bug
Index: rebase.sh
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/scripts/rebase.sh,v
retrieving revision 1.24
retrieving revision 1.24.6.1
diff -u -r1.24 -r1.24.6.1
--- rebase.sh 14 Jan 2009 00:55:01 -0000 1.24
+++ rebase.sh 25 Feb 2009 21:26:03 -0000 1.24.6.1
@@ -72,14 +72,26 @@
if [ "$OLDRC" -eq 0 -a "$OLDGIT" -eq 0 -a "$OLDGIT" -ne "$NEWGIT" ]; then
echo "Rebasing from a stable release to a new git snapshot"
perl -p -i -e 's/^%define\ released_kernel\ 1/\%define\ released_kernel\ 0/' kernel.spec
+ perl -p -i -e 's/^%define\ rawhide_skip_docs\ 1/\%define\ rawhide_skip_docs\ 0/' kernel.spec
# force these to zero in this case, they may not have been when we rebased to stable
perl -p -i -e 's/^%define\ rcrev.*/\%define\ rcrev\ 0/' kernel.spec
perl -p -i -e 's/^%define\ gitrev.*/\%define\ gitrev\ 0/' kernel.spec
fi
+# make sure we build docs at least once per -rc kernel, shut it off otherwise
+if [ "$OLDRC" -ne 0 -a "$NEWRC" -gt "$OLDRC" ]; then
+ perl -p -i -e 's/^%define\ rawhide_skip_docs\ 1/\%define\ rawhide_skip_docs\ 0/' kernel.spec
+else
+ if [ "$NEWRC" -eq "$OLDRC" -a "$NEWGIT" -gt "$OLDGIT" ]; then
+ # common case, same -rc, new -git, make sure docs are off.
+ perl -p -i -e 's/^%define\ rawhide_skip_docs\ 0/\%define\ rawhide_skip_docs\ 1/' kernel.spec
+ fi
+fi
+
if [ "$NEWRC" -eq 0 -a "$NEWGIT" -eq 0 ]; then
echo "Rebasing from -rc to final release."
perl -p -i -e 's/^%define\ released_kernel\ 0/\%define\ released_kernel\ 1/' kernel.spec
+ perl -p -i -e 's/^%define\ rawhide_skip_docs\ 1/\%define\ rawhide_skip_docs\ 0/' kernel.spec
export OLD_TARBALL_BASE=$(($OLDBASE-1))
perl -p -i -e 's/^%define\ base_sublevel\ $ENV{OLD_TARBALL_BASE}/%define\ base_sublevel\ $ENV{NEWBASE}/' kernel.spec
perl -p -i -e 's/^%define\ rcrev.*/\%define\ rcrev\ 0/' kernel.spec
- Previous message: rpms/torsmo/devel torsmo.spec,1.5,1.6
- Next message: rpms/kernel/devel build-with-fno-dwarf2-cfi-asm.patch, NONE, 1.1.2.2 drm-edid-revision-0-should-be-valid.patch, NONE, 1.1.2.2 linux-2.6-v4l-dvb-update.patch, NONE, 1.1.2.2 patch-2.6.29-rc6-git2.bz2.sign, NONE, 1.1.2.2 .cvsignore, 1.1014.2.3, 1.1014.2.4 config-generic, 1.238.6.4, 1.238.6.5 config-powerpc-generic, 1.33.6.1, 1.33.6.2 config-x86-generic, 1.68.6.1, 1.68.6.2 config-x86_64-generic, 1.68.2.2, 1.68.2.3 drm-intel-next.patch, 1.4.6.1, 1.4.6.2 drm-modesetting-radeon.patch, 1.54.6.1, 1.54.6.2 kernel.spec, 1.1294.2.6, 1.1294.2.7 linux-2.6-debug-dma-api.patch, 1.2, 1.2.6.1 sources, 1.976.2.4, 1.976.2.5 upstream, 1.888.2.3, 1.888.2.4 xen.pvops.patch, 1.1.2.5, 1.1.2.6 xen.pvops.post.patch, 1.1.2.2, 1.1.2.3 xen.pvops.pre.patch, 1.1.2.2, 1.1.2.3 linux-2.6-ext4-ENOSPC-debug.patch, 1.1.2.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list