How to build the xvm gate » How to Build the Development gates
en

How to Build the Development gates

NOTE: The xen-gate project is no longer active on this website so information here may be out of date. Current Oracle Solaris 11 product documentation can be found here. Information about downloading Oracle Solaris 11 can be found here.
  • make sure the Mercurial MQ extension is enabled i.e. in /.hgrc
    [extensions]
    hgext.mq=
  • Have the following in your env
    export EMAIL={{code}}username@yourdomain.com{{/code}}
    export EDITOR=vi
    export SOLARIS~_BUILD~_TOOLS=/opt

http://xenbits.xensource.com/xen-3.4-testing.hg child

  • Grab/setup the xvm source
    mkdir xvm-3.4
    cd xvm-3.4/
    hg clone ssh://anon@hg.opensolaris.org//hg/xen-gate/xvm-3.4+sunos.hg sunos.hg
    export XVM~_WS=\{{code}}pwd\{{/code}}
    ./sunos.hg/bin/update-gate
    curl -o readline-5.2.tar.gz http://ftp.gnu.org/pub/gnu/readline/readline-5.2.tar.gz
  • build the xvm gate
    export XVM~_WS=\{{code}}pwd\{{/code}}
    ./sunos.hg/bin/build-all full &> build.txt &

 To build inside of xen.hg

    gmake MAKE=gmake debug=y XEN~_COMPILE~_ARCH=x86~_64 XEN~_TARGET~_ARCH=x86~_64 SOLARIS~_BUILD~_TOOLS=/opt
  • For the dom0 kernel, follow the standard instructions for a onnv based gate. 
    hg clone ssh://anon@hg.opensolaris.org/hg/xen-gate/onnv-3.4
    cd onnv-3.4
    wget http://dlc.sun.com/osol/on/downloads/b115/on-closed-bins.i386.tar.bz2
    wget http://dlc.sun.com/osol/on/downloads/b115/on-closed-bins-nd.i386.tar.bz2
    bzcat on-closed-bins.i386.tar.bz2 | tar xf -
    bzcat on-closed-bins-nd.i386.tar.bz2 | tar xf - 

http://xenbits.xensource.com/xen-unstable child

  • Grab/setup the xvm source
    mkdir xvm-unstable
    cd xvm-unstable/
    hg clone ssh://anon@hg.opensolaris.org//hg/xen-gate/xvm-unstable+sunos.hg sunos.hg
    export XVM~_WS=\{{code}}pwd\{{/code}}
    ./sunos.hg/bin/update-gate
    curl -o readline-5.2.tar.gz http://ftp.gnu.org/pub/gnu/readline/readline-5.2.tar.gz
  • build the xvm gate
    export XVM~_WS=\{{code}}pwd\{{/code}}
    ./sunos.hg/bin/build-all full &> build.txt &

 To build inside of xen.hg

    gmake MAKE=gmake debug=y XEN~_COMPILE~_ARCH=x86~_64 XEN~_TARGET~_ARCH=x86~_64 SOLARIS~_BUILD~_TOOLS=/opt
  • For the dom0 kernel, follow the standard instructions for a onnv based gate. 
    hg clone ssh://anon@hg.opensolaris.org/hg/xen-gate/onnv-unstable
    cd onnv-unstable
    wget http://dlc.sun.com/osol/on/downloads/b115/on-closed-bins.i386.tar.bz2
    wget http://dlc.sun.com/osol/on/downloads/b115/on-closed-bins-nd.i386.tar.bz2
    bzcat on-closed-bins.i386.tar.bz2 | tar xf -
    bzcat on-closed-bins-nd.i386.tar.bz2 | tar xf - 
Tags:
Created by admin on 2009/10/26 12:18
Last modified by admin on 2009/10/26 12:18

Collectives


XWiki Enterprise 2.7.1.34853 - Documentation