make sure the Mercurial MQ extension is enabled
i.e. in ~/.hgrc
[extensions]
hgext.mq=
** Have the following in your env
--
export EMAIL=username at youdomain dot com
export EDITOR=vi
export SOLARIS_BUILD_TOOLS=/opt
** Grab/setup the b89 xvm sources
--
mkdir xvm-gate
cd xvm-gate
wget http://dlc.sun.com/osol/on/downloads/b101/xvm-src.tar.bz2
bzcat xvm-src.tar.bz2 | tar xf -
** Update the sunos.hg bits
--
mv sunos.hg sunos.hg.101
hg clone ssh://anon@hg.opensolaris.org/hg/xen-gate/sunos-unstable sunos.hg
vi sunos.hg/src/pkgdefs/check_pkgs.ksh
#comment the "ret=1" line
** Remove the xen source and clone xen-unstable.hg (up
to the rev we are currently sync'd to)
--
rm -rf xen.hg
hg clone -r 17748 http://xenbits.xensource.com/xen-unstable.hg xen.hg
** Setup the patches needed to compile on Solaris and run on dom0
--
cd xen.hg
hg qinit -c
echo "[paths]" > .hg/patches/.hg/hgrc
echo "default = ssh://anon@hg.opensolaris.org/hg/xen-gate/devel-unstable-patches" >> .hg/patches/.hg/hgrc
cd .hg/patches/
hg pull -uv
** push the patches to make sure everything is ok
--
cd ../../
hg qpush -a
vi xen.hg/tools/libxc/Makefile
#remove "-Werror" gcc option
i.e. in ~/.hgrc
[extensions]
hgext.mq=
** Have the following in your env
--
export EMAIL=username at youdomain dot com
export EDITOR=vi
export SOLARIS_BUILD_TOOLS=/opt
** Grab/setup the b89 xvm sources
--
mkdir xvm-gate
cd xvm-gate
wget http://dlc.sun.com/osol/on/downloads/b101/xvm-src.tar.bz2
bzcat xvm-src.tar.bz2 | tar xf -
** Update the sunos.hg bits
--
mv sunos.hg sunos.hg.101
hg clone ssh://anon@hg.opensolaris.org/hg/xen-gate/sunos-unstable sunos.hg
vi sunos.hg/src/pkgdefs/check_pkgs.ksh
#comment the "ret=1" line
** Remove the xen source and clone xen-unstable.hg (up
to the rev we are currently sync'd to)
--
rm -rf xen.hg
hg clone -r 17748 http://xenbits.xensource.com/xen-unstable.hg xen.hg
** Setup the patches needed to compile on Solaris and run on dom0
--
cd xen.hg
hg qinit -c
echo "[paths]" > .hg/patches/.hg/hgrc
echo "default = ssh://anon@hg.opensolaris.org/hg/xen-gate/devel-unstable-patches" >> .hg/patches/.hg/hgrc
cd .hg/patches/
hg pull -uv
** push the patches to make sure everything is ok
--
cd ../../
hg qpush -a
vi xen.hg/tools/libxc/Makefile
#remove "-Werror" gcc option