I think you want to do:
XEN_LINUX_GIT_REMOTEBRANCH=origin/xen-tip/next make world
Patrick
Boris Derzhavets wrote:
> 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 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; \
> cd linux-2.6-pvops.git.tmp; \
>
git checkout xen-tip/next ; \
> 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/
> 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 <
keir.fraser@xxxxxxxxxxxxx> wrote:
>
> From: Keir Fraser <
keir.fraser@xxxxxxxxxxxxx>
> Subject: Re: Which branch to checkout
running "make world" for xen-unstable ?
> To: "Boris Derzhavets" <
bderzhavets@xxxxxxxxx>, "Jun Koi" <
junkoi2004@xxxxxxxxx>, "Ian Jackson" <
Ian.Jackson@xxxxxxxxxxxxx>
> Cc: "
xen-devel@xxxxxxxxxxxxxxxxxxx" <
xen-devel@xxxxxxxxxxxxxxxxxxx>
> Date: Thursday, June 25, 2009, 4:07 AM
>
> XEN_LINUX_GIT_REMOTEBRANCH=xxx make world
>
> ...will probably do what you want.
>
> -- Keir
>
>
On 24/06/2009 18:01, "Boris Derzhavets" <
bderzhavets@xxxxxxxxx> 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.
>>
>> Boris.
>>
>>
>>
>>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
>
Xen-devel@xxxxxxxxxxxxxxxxxxx>
http://lists.xensource.com/xen-devel