[Fedora-xen] how to get the latest ia64 bits
Aron Griffis
aron at hp.com
Thu Oct 12 01:57:40 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20061011/af725cae/attachment.sig>
More information about the Fedora-xen
mailing list