Re: [Emc-users] Changing From Master to 2.7?

2015-01-28 Thread Sebastian Kuzminsky
On 1/28/15 11:38 AM, Todd Zuercher wrote:
 Is there a simple way to switch from Master to 2.7?

It depends if you are building your own version of linuxcnc from git, or 
if you are using master packages from the buildbot.


If you build linuxcnc yourself:

  git checkout 2.7
  make clean all


If you are using buildbot packages:

Change your /etc/apt/sources.list to point to 2.7 instead of master. 
You should currently have a line like this:

  deb http://buildbot.linuxcnc.org wheezy master-rt

Change it to say 2.7-rt instead.

Then you have to force apt to downgrade linuxcnc from the master version 
to the 2.7 version.  Nothing else should need to change.


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Changing From Master to 2.7?

2015-01-28 Thread Sebastian Kuzminsky
On 1/28/15 8:30 PM, Todd Zuercher wrote:
 I am using buildbot and I had changed the the repos from master-rt to 2.7.

 The part I am missing is how to force apt to downgrade? What is the trick to 
 doing that?

It's different for different package management front-ends.  There are 
probably easy gui ways to do this, but...  I use apt-get from the 
command-line, and here's how i did it:

http://paste.ubuntu.com/9929727/

On line 9 i query what packages i have installed and find 
linuxcnc-uspace version 1:2.8.0~pre1.337.g4ceca76 from the master branch.

On line 20 i ask what versions are available and it reports 4 different 
versions, including the currently installed one.

On line 34 i ask apt-get to install a specific version, and I pick the 
newest 2.7 version.

That all goes well, and on line 55 i ask about the installed versions 
again, and see the one i wanted is installed.


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Changing From Master to 2.7?

2015-01-28 Thread Todd Zuercher
I am using buildbot and I had changed the the repos from master-rt to 2.7.

The part I am missing is how to force apt to downgrade? What is the trick to 
doing that?

- Original Message -
From: Sebastian Kuzminsky s...@highlab.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Wednesday, January 28, 2015 3:23:21 PM
Subject: Re: [Emc-users] Changing From Master to 2.7?

On 1/28/15 11:38 AM, Todd Zuercher wrote:
 Is there a simple way to switch from Master to 2.7?

It depends if you are building your own version of linuxcnc from git, or 
if you are using master packages from the buildbot.


If you build linuxcnc yourself:

  git checkout 2.7
  make clean all


If you are using buildbot packages:

Change your /etc/apt/sources.list to point to 2.7 instead of master. 
You should currently have a line like this:

  deb http://buildbot.linuxcnc.org wheezy master-rt

Change it to say 2.7-rt instead.

Then you have to force apt to downgrade linuxcnc from the master version 
to the 2.7 version.  Nothing else should need to change.


-- 
Sebastian Kuzminsky

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users