LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Linux/m68k <linux-m68k@vger.kernel.org>
Subject: Re: linux-next: Tree for Feb 24
Date: Mon, 25 Feb 2008 14:30:48 -0800	[thread overview]
Message-ID: <20080225143048.a67c275f.randy.dunlap@oracle.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0802252252070.5158@anakin>

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

On Mon, 25 Feb 2008 22:56:04 +0100 (CET) Geert Uytterhoeven wrote:

> P.S. For the interested, a script to update the SHA1 in the quilt series file:

Thanks, anakin.
Version to update $BASE based on current kernel tree is attached.

---
~Randy

[-- Attachment #2: quilt-update-tree-base --]
[-- Type: application/octet-stream, Size: 818 bytes --]

#!/bin/bash
series=patches/series

get_kversion() {
head -4 Makefile | sed -e 's/ //g' > /tmp/.kversion.$$
. /tmp/.kversion.$$
rm /tmp/.kversion.$$

case "$EXTRAVERSION" in
	"")
		;;
	*-mm*)
		EXTRAVERSION=$(echo "$EXTRAVERSION" | sed -e 's/\(.*\)-mm[0-9]*/\1/')
		;;
	*-kj*)
		EXTRAVERSION=$(echo "$EXTRAVERSION" | sed -e 's/\(.*\)-kj[0-9]*/\1/')
		;;
	-*)
		;;
	*)
		EXTRAVERSION="-$EXTRAVERSION";;
esac
kversion=$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION
if [ "$kversion" = ".." ]
then
	kversion=$(basename $(/bin/pwd))
fi
echo $kversion
}

if [ ! -f $series ]; then
    echo Cannot find $series
    exit 1
fi

ver=`get_kversion`
if [ -n "$ver" ]; then
    if grep '^# BASE' $series > /dev/null; then
	sed -i -e "s/^# BASE.*$/# BASE $ver/" $series
	echo Updated BASE to $ver
    else
	echo No BASE found
    fi
fi

  reply	other threads:[~2008-02-25 22:32 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24  5:23 Stephen Rothwell
2008-02-24 18:19 ` Kevin Winchester
2008-02-24 20:00   ` Rafael J. Wysocki
2008-02-24 23:35     ` Kevin Winchester
2008-02-24 23:43       ` Rafael J. Wysocki
2008-02-25  0:23         ` Kevin Winchester
2008-02-25  9:26       ` Pavel Machek
2008-02-26  0:24         ` broken suspend to ram with velocity driver Kevin Winchester
2008-02-26  0:49           ` Rafael J. Wysocki
2008-02-27  0:36             ` Kevin Winchester
2008-02-27 12:59               ` Rafael J. Wysocki
2008-02-27  0:48             ` Kevin Winchester
2008-02-27 13:00               ` Rafael J. Wysocki
2008-02-26 21:49           ` Pavel Machek
2008-02-27  0:28             ` Kevin Winchester
2008-02-27 13:06               ` Rafael J. Wysocki
2008-02-27 13:08               ` Matthew Garrett
2008-02-25 21:56 ` linux-next: Tree for Feb 24 Geert Uytterhoeven
2008-02-25 22:30   ` Randy Dunlap [this message]
2008-02-25 23:49   ` Stephen Rothwell
2008-02-26  7:55     ` Geert Uytterhoeven
2008-02-25  6:31 Stephen Rothwell
2008-02-25 10:12 ` Frank Seidel
2008-02-25 11:11   ` Stephen Rothwell
2012-02-24  6:05 Stephen Rothwell
2013-02-26  3:16 Stephen Rothwell
2013-02-26  5:00 ` Sedat Dilek
2013-02-26  5:30   ` Stephen Rothwell
2014-02-24  6:37 Stephen Rothwell
2015-02-24  3:02 Stephen Rothwell
2016-02-24  5:34 Stephen Rothwell
2016-02-24  6:32 ` Sedat Dilek
2016-02-24 14:37   ` Benjamin LaHaise
2016-03-17 10:21     ` Sedat Dilek
2016-03-17 10:27       ` Stephen Rothwell
2016-03-17 10:37         ` Sedat Dilek
2017-02-24  3:01 Stephen Rothwell
2020-02-24  4:32 Stephen Rothwell
2021-02-24  3:36 Stephen Rothwell
2022-02-25  2:16 broonie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080225143048.a67c275f.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    --subject='Re: linux-next: Tree for Feb 24' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).