Hi Jean-Baptiste, 

There is no branch called 2.9.1 for xCAT.  See "git branch -r" 
To get the 2.9.1 code, you should checkout the xCAT 2.9 branch" 

$ git checkout -b 2.9 origin/2.9

Then run: 
$ sudo ./buildcore.sh BUILDALL=1 UP=0 

I believe we have just changed the master branch to be able to do local 
builds a little bit better... 
You might see issues when you build the 2.9 branch because it's connecting 
to an internal repository to get keys to sign the RPMS

To build the master (development) branch... 
$ git checkout master 
$ sudo ./buildcore.sh BUILDALL=1 UP=0 

You can of course create the individual rpms also using the 
xcat-core/makerpm command.  Example: 
$ cd xcat-core
$./makerpm xCAT-server xCAT-client.  , etc 



Regards,

VICTOR K. HU

Phone: 1-845-433-9571
E-mail: [email protected]

2455 South Rd
Poughkeepsie, NY 12601-5400
United States




From:   Jean-Baptiste Denis <[email protected]>
To:     [email protected]
Date:   06/17/2015 04:29 AM
Subject:        [xcat-user] Using the buildcore script on a tag



Hello,

I've tried to use the buildcore script on a tag (2.9.1), but it didn't 
work.

===

$ git clone https://github.com/xcat2/xcat-core
$ cd xcat-core
$ git checkout -b 2.9.1 2.9.1
$ sudo ./buildcore.sh
git pull > ../coregitup
You asked me to pull without telling me which branch you
want to merge with, and 'branch.2.9.1.merge' in
your configuration file does not tell me, either. Please
specify which branch you want to use on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.

If you often merge with the same branch, you may want to
use something like the following in your configuration file:

[branch "2.9.1"]
remote = <nickname>
merge = <remote-ref>

[remote "<nickname>"]
url = <url>
fetch = <refspec>

See git-config(1) for details.
The 'git pull' command failed. Exiting the build.

===

Did I use the script correctly ?

Jean-Baptiste


------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to