From: Boris Derzhavets Subject: Re: Which branch to checkout running "make world" for xen-unstable ? Date: Thu, 25 Jun 2009 07:20:24 -0700 (PDT) Message-ID: <484829.84402.qm@web56104.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0536378990==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jun Koi , Ian Jackson , Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0536378990== Content-Type: multipart/alternative; boundary="0-1680350063-1245939624=:84402" --0-1680350063-1245939624=:84402 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable That's a result :- . . . . . . . . . . . .=20 set -ex; \ =A0=A0=A0 if ! [ -d linux-2.6-pvops.git ]; then \ =A0=A0=A0 =A0=A0=A0 rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp; \ =A0=A0=A0 =A0=A0=A0 mkdir linux-2.6-pvops.git.tmp; rmdir linux-2.6-pvops.gi= t.tmp; \ =A0=A0=A0 =A0=A0=A0 git clone git://git.kernel.org/pub/scm/linux/kernel/git= /jeremy/xen.git linux-2.6-pvops.git.tmp; \ =A0=A0=A0 =A0=A0=A0 cd linux-2.6-pvops.git.tmp; \ =A0=A0=A0 =A0=A0=A0 git checkout xen-tip/next ; \ =A0=A0=A0 =A0=A0=A0 cd ..; mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git; = \ =A0=A0=A0 fi + '[' -d linux-2.6-pvops.git ']' + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp + mkdir linux-2.6-pvops.git.tmp + rmdir linux-2.6-pvops.git.tmp + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git li= nux-2.6-pvops.git.tmp Initialized empty Git repository in /usr/src/xen-unstable.hg/linux-2.6-pvop= s.git.tmp/.git/ remote: Counting objects: 1364853, done. remote: Compressing objects: 100% (240154/240154), done. remote: Total 1364853 (delta 1142538), reused 1337612 (delta 1116195) Receiving objects: 100% (1364853/1364853), 321.42 MiB | 79 KiB/s, done. Resolving deltas: 100% (1142538/1142538), done. Checking out files: 100% (27941/27941), done. + cd linux-2.6-pvops.git.tmp + git checkout xen-tip/next error: pathspec 'xen-tip/next' did not match any file(s) known to git. make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 make[3]: Leaving directory `/usr/src/xen-unstable.hg' make[2]: *** [linux-2.6-pvops-install] Error 2 make[2]: Leaving directory `/usr/src/xen-unstable.hg' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/usr/src/xen-unstable.hg' make: *** [world] Error 2 Boris --- On Thu, 6/25/09, Keir Fraser wrote: From: Keir Fraser Subject: Re: Which branch to checkout running "make world" for xen-unstable= ? To: "Boris Derzhavets" , "Jun Koi" , "Ian Jackson" Cc: "xen-devel@lists.xensource.com" Date: Thursday, June 25, 2009, 4:07 AM XEN_LINUX_GIT_REMOTEBRANCH=3Dxxx make world ...will probably do what you want. -- Keir On 24/06/2009 18:01, "Boris Derzhavets" wrote: > I believe , that makes sense to provide developers two options :- > 1. Checkout xen-tip/master > 2. Checkout xen-tip/next > when running "make world" for xen unstable. >=20 > Boris. >=20 >=20 >=20 >=A0=20 =0A=0A=0A --0-1680350063-1245939624=:84402 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
That's a result :-
. . . . . . . . . . . .=

set -ex; \
    if ! [ -d linux-2.6-pvops.git ]; = then \
        rm -rf linux-2.6-pvops.git = linux-2.6-pvops.git.tmp; \
        mkdir l= inux-2.6-pvops.git.tmp; rmdir linux-2.6-pvops.git.tmp; \
  &nb= sp;     git clone git://git.kernel.org/pub/scm/linux/kernel/= git/jeremy/xen.git linux-2.6-pvops.git.tmp; \
     &= nbsp;  cd linux-2.6-pvops.git.tmp; \
      = ;  git checkout xen-tip/next ; \
      &nb= sp; cd ..; mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git; \
  = ;  fi
+ '[' -d linux-2.6-pvops.git ']'
+ rm -rf linux-2.6-pvops.= git linux-2.6-pvops.git.tmp
+ mkdir linux-2.6-pvops.git.tmp
+ rmdir linux-2.6-pvops.git.tmp
+ git clone git://git.kernel.org/pub/scm/linux/= kernel/git/jeremy/xen.git linux-2.6-pvops.git.tmp
Initialized empty Git = repository in /usr/src/xen-unstable.hg/linux-2.6-pvops.git.tmp/.git/
rem= ote: Counting objects: 1364853, done.
remote: Compressing objects: 100% = (240154/240154), done.
remote: Total 1364853 (delta 1142538), reused 133= 7612 (delta 1116195)
Receiving objects: 100% (1364853/1364853), 321.42 M= iB | 79 KiB/s, done.
Resolving deltas: 100% (1142538/1142538), done.
= Checking out files: 100% (27941/27941), done.
+ cd linux-2.6-pvops.git.t= mp
+ git checkout xen-tip/next
error: pathspec 'xen-tip/next' did not= match any file(s) known to git.
make[3]: *** [linux-2.6-pvops.git/.vali= d-src] Error 1
make[3]: Leaving directory `/usr/src/xen-unstable.hg'
= make[2]: *** [linux-2.6-pvops-install] Error 2
make[2]: Leaving director= y `/usr/src/xen-unstable.hg'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/usr/src/xen-unstable.hg'
make: *** [w= orld] Error 2

Boris

--- On Thu, 6/25/09, Keir Fraser &l= t;keir.fraser@eu.citrix.com> wrote:
=
From: Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: Whi= ch branch to checkout running "make world" for xen-unstable ?
To: "Boris= Derzhavets" <bderzhavets@yahoo.com>, "Jun Koi" <junkoi2004@gmail.= com>, "Ian Jackson" <Ian.Jackson@eu.citrix.com>
Cc: "xen-devel@= lists.xensource.com" <xen-devel@lists.xensource.com>
Date: Thursda= y, June 25, 2009, 4:07 AM

XEN_LINUX_GIT_REM= OTEBRANCH=3Dxxx make world

...will probably do what you want.
-- Keir

On 24/06/2009 18:01, "Boris Derzhavets" <bderzhavets@yahoo.com&= gt; wrote:

> I believe , that makes sense to provide developers t= wo options :-
> 1. Checkout xen-tip/master
> 2. Checkout xen-ti= p/next
> when running "make world" for xen unstable.
>
>= Boris.
>
>
>
> 



=0A=0A --0-1680350063-1245939624=:84402-- --===============0536378990== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0536378990==--