WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Re: [Fedora-xen] how to get the latest ia64 bits

To: Juan Quintela <quintela@xxxxxxxxxx>, fedora-xen@xxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] Re: [Fedora-xen] how to get the latest ia64 bits
From: Aron Griffis <aron@xxxxxx>
Date: Wed, 11 Oct 2006 21:57:40 -0400
Delivery-date: Wed, 11 Oct 2006 19:07:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061012004505.GB15137@xxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Juan Quintela <quintela@xxxxxxxxxx>, fedora-xen@xxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
References: <20061012004505.GB15137@xxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Updated version that omits .orig files:

# 1. Clone upstream repos and create temporary trees

    hg clone http://xenbits.xensource.com/ext/xen-ia64-unstable.hg
    hg clone http://xenbits.xensource.com/xen-3.0.3-testing.hg
    hg clone http://free.linux.hp.com/~agriffis/pull-xen-unstable.hg
    hg clone http://hg.et.redhat.com/kernel/linux-2.6-xen-fedora
    cp -al xen-3.0.3-testing.hg xen-3.0.3-testing.hg+ia64
    cp -al linux-2.6-xen-fedora linux-2.6-xen-fedora+ia64

# 2. Remember tip changesets

    ia64_cset=$(hg -R xen-ia64-unstable.hg parents | \
        awk -F'[ :]' '/^changeset:/{print $(NF-1);exit}')

    testing_cset=$(hg -R xen-3.0.3-testing.hg parents | \
        awk -F'[ :]' '/^changeset:/{print $(NF-1);exit}')

# 3. Merge ia64 into testing

    cd xen-3.0.3-testing.hg+ia64
    hg pull ../xen-ia64-unstable.hg
    hg merge
    find . -name \*.orig -print0 | xargs -0r rm
    hg ci -m "merge xen-ia64-unstable.hg"
    cd ..

# 4. Generate hypervisor patch

    hg -R xen-3.0.3-testing.hg+ia64 di -r $testing_cset -r tip | \
        filterdiff -p1 -i 'xen/*' --strip=1 > xen-ia64-$ia64_cset.patch

# 5. Generate linux patch

    cd linux-2.6-xen-fedora+ia64
    hg -R ../xen-3.0.3-testing.hg+ia64 di -r $testing_cset -r tip | \
        ../pull-xen-unstable.hg/pull-xen-unstable --filter | \
        patch -p1
    find . -name \*.orig -print0 | xargs -0r rm
    hg add
    hg remove --after
    hg ci -m "update to xen-ia64-unstable-$ia64_cset"
    hg export tip > ../linux-2.6-xen-ia64-$ia64_cset.patch

Attachment: pgpLBxwSwHKSl.pgp
Description: PGP signature

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>