Skip to contentSkip to conversation

Which branch to checkout running "make world" for xen-unstable ?

DISCUSSION Boris Derzhavets 2 participants 2 messages Jun 25, 2009

lore
Share & tools
lore
#0 lore raw

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 <[email protected]> wrote:

From: Keir Fraser <[email protected]>
Subject: Re: Which branch to checkout running "make world" for xen-unstable ?
To: "Boris Derzhavets" <[email protected]>, "Jun Koi" <[email protected]>, "Ian Jackson" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thursday, June 25, 2009, 4:07 AM

XEN_LINUX_GIT_REMOTEBRANCH=xxx make world

...will probably do what you want.

-- Keir

Quoted 10 lines · Boris Derzhavets

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

I think you want to do:

XEN_LINUX_GIT_REMOTEBRANCH=origin/xen-tip/next make world

Patrick

Quoted 77 lines · Boris Derzhavets

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 <[email protected]> wrote:

From: Keir Fraser <[email protected]>
Subject: Re: Which branch to checkout running "make world" for xen-unstable ?
To: "Boris Derzhavets" <[email protected]>, "Jun Koi" <[email protected]>, "Ian Jackson" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thursday, June 25, 2009, 4:07 AM

XEN_LINUX_GIT_REMOTEBRANCH=xxx make world

...will probably do what you want.

-- Keir

Quoted 10 lines · Boris Derzhavets

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
[email protected]
http://lists.xensource.com/xen-devel