VM dedicated to compiling Deviation

More
06 Apr 2013 14:38 - 06 Apr 2013 14:38 #8643 by PhracturedBlue
Replied by PhracturedBlue on topic VM dedicated to compiling Deviation

sbstnp wrote: VI is easy:

I don't think I've ever heard anyone say that. I think the rest of your post proves it isn't true (I love VI and use it every day, but 'easy' isn't an adjective I'd use).
You might recommend folks try nano or mousepad or some other simple notepad clone instead. Not sure what you have in your VM
Last edit: 06 Apr 2013 14:38 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
06 Apr 2013 15:19 - 06 Apr 2013 16:40 #8645 by Wene001
Replied by Wene001 on topic VM dedicated to compiling Deviation
I changed the repository with VI sucessfully :-)strike
and the Keyboard to de-latin1
And no, for me it was not easy.

I dont unterstand whats to do now.

Changed line 20 to bitbucket.org/rbe2012/deviation-rbe

run hg pull and hg update

But it looks like the Script is using Phractured Blues Repo.


Sorry i´m a noob in Unix
Last edit: 06 Apr 2013 16:40 by Wene001.

Please Log in or Create an account to join the conversation.

More
06 Apr 2013 16:58 #8646 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation

PhracturedBlue wrote:

sbstnp wrote: VI is easy:

I don't think I've ever heard anyone say that. I think the rest of your post proves it isn't true (I love VI and use it every day, but 'easy' isn't an adjective I'd use).
You might recommend folks try nano or mousepad or some other simple notepad clone instead. Not sure what you have in your VM


I use to joke about VI like this. Truth to be told, VI isn't hard, it just requires a solid background in UNIX/Linux, regular expressions and tenacity to learn. It is daunting at first, but it becomes easier with time.

I'm trying to provide a seamless experience for people using my VM and probably just implement repo switching in my script, so people can just go ahead and run a single command and not require them to learn Linux.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
06 Apr 2013 16:59 - 06 Apr 2013 18:04 #8647 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation

Wene001 wrote: I changed the repository with VI sucessfully :-)strike
and the Keyboard to de-latin1
And no, for me it was not easy.

I dont unterstand whats to do now.

Changed line 20 to bitbucket.org/rbe2012/deviation-rbe

run hg pull and hg update

But it looks like the Script is using Phractured Blues Repo.


Sorry i´m a noob in Unix


Stay tuned, I'm implementing custom repositories right now.

EDIT:

It's done. Please run
deviation self-update

After the update, please run
deviation help | less
and read through the updated documentation to see what needs to be done in order to use custom repositories. Press 'q' to quit 'less' when finished.

Please note that the implementation is rather basic atm, I'll update it over the next few days.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 06 Apr 2013 18:04 by sbstnp.

Please Log in or Create an account to join the conversation.

More
07 Apr 2013 11:25 - 07 Apr 2013 11:29 #8678 by Wene001
Replied by Wene001 on topic VM dedicated to compiling Deviation
I have to rename the folder /home/deviation-rbe to /home/deviation then everything went ok.

Thx for help
Last edit: 07 Apr 2013 11:29 by Wene001.

Please Log in or Create an account to join the conversation.

More
07 Apr 2013 16:00 #8690 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation

Wene001 wrote: I have to rename the folder /home/deviation-rbe to /home/deviation then everything went ok.

Thx for help


That should not have been necessary. I'll take a look at it when I'll have a bit of free time.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
22 Apr 2013 09:28 - 22 Apr 2013 09:29 #9118 by thwaitm
Replied by thwaitm on topic VM dedicated to compiling Deviation
Hi, I ran a very quick test to find out if this VM compiles V2.x.x Deviation or V3.x.x Deviation and it seems to be V2.x.x. (Judging by updated for V3 icons being broken when using a VM built DFU)

Am I correct and how can I get it to use a V3.x.x source? Another repository path hack?

Not in a rush. Cheers.
Last edit: 22 Apr 2013 09:29 by thwaitm. Reason: clarity

Please Log in or Create an account to join the conversation.

More
22 Apr 2013 10:11 #9120 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation

thwaitm wrote: Hi, I ran a very quick test to find out if this VM compiles V2.x.x Deviation or V3.x.x Deviation and it seems to be V2.x.x. (Judging by updated for V3 icons being broken when using a VM built DFU)

Am I correct and how can I get it to use a V3.x.x source? Another repository path hack?

Not in a rush. Cheers.


When you run "deviation build" it should update the repository automatically. Otherwise, a "rm -rf deviation" followed by another "deviation build [target]" is gonna pull the whole repository again, so the sources will be fresh.

Let me know if this works. If not I'll just patch something into the helper script.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
27 Apr 2013 13:00 #9271 by thwaitm
Replied by thwaitm on topic VM dedicated to compiling Deviation
It wanted me to run > deviation setup after rm -rf deviation but after that the build was fine.

It's not possible for a layman to know if it's a V3 build or anything else of course (nothing in the about deviation screen that indicates the base version) but I guess it's not really important. If you want to run V3.0.0 then you can just download the release package and run that.
The only indication would be in the additional features that the build has over previous releases.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
28 Apr 2013 07:22 #9296 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
On the USB page you will be told about the repository version used for building deviation. "3.0.0" is a name for a special version - the older versions are not all called "2.1.1", again only a special one, and the newer also are not named 3.0.0.
So if you want to know if a version is younger or older than 3.0.0 you can only look into the deviation repository at bitbucket (or your local copy) and search for the long hexadecimal value from the USB screen as the ID for the commit. Then you can see if 3.0.0 is before or not.

Please Log in or Create an account to join the conversation.

More
30 Apr 2013 12:44 #9391 by richardclli
Replied by richardclli on topic VM dedicated to compiling Deviation
I use VMware workstation to input the VM, it works, only the shared folder failed to connect. Seems need to install VMware drivers for this to work.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
30 Apr 2013 16:08 #9404 by rbe2012
Replied by rbe2012 on topic VM dedicated to compiling Deviation
Yes, VMware needs its tools for shared folders.

Please Log in or Create an account to join the conversation.

More
30 Apr 2013 18:36 #9412 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation
Thanks for the VMWare feedback guys.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
01 May 2013 14:32 - 01 May 2013 14:33 #9448 by thwaitm
Replied by thwaitm on topic VM dedicated to compiling Deviation
@rbe2012

Thanks for that explanation. I guessed that was the case but not being a dev wasn't sure. I think the original issue was caused by there being additional icons added to the filesystem after v3.0.0 so my later than v3.0.0 build was looking for icons which didn't exist on my v3.0.0 filesystem.
Last edit: 01 May 2013 14:33 by thwaitm. Reason: clarity

Please Log in or Create an account to join the conversation.

More
08 May 2013 09:05 - 08 May 2013 13:21 #9703 by Krejzi
Replied by Krejzi on topic VM dedicated to compiling Deviation

Wene001 wrote: Im tryin to learn how to compile my own deviation builds.
i`ve installed the ova from the first post and get:
/bin/mv: cannot stat "deviation-fs-devo8-4de892806596.zip": No such file or directory!! Moving FS archive failed.
in the end of the compiling process
There is only the dfu File in my C:\Deviation folder
Wene


I have the same issue now but with bouth of files.
How to fix it?
Last edit: 08 May 2013 13:21 by Krejzi.

Please Log in or Create an account to join the conversation.

More
08 May 2013 16:45 #9711 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation

Krejzi wrote:

Wene001 wrote: Im tryin to learn how to compile my own deviation builds.
i`ve installed the ova from the first post and get:
/bin/mv: cannot stat "deviation-fs-devo8-4de892806596.zip": No such file or directory!! Moving FS archive failed.
in the end of the compiling process
There is only the dfu File in my C:\Deviation folder
Wene


I have the same issue now but with bouth of files.
How to fix it?


Yeah it's the new version format from PB, I'll upload a fix in a few minutes.

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
08 May 2013 17:05 #9712 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation
Fix uploaded, please run:
deviation self-update

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire

Please Log in or Create an account to join the conversation.

More
08 May 2013 18:33 #9715 by Wene001
Replied by Wene001 on topic VM dedicated to compiling Deviation
please help again
now for me (rbe s repo) it doesnt work
get version in script is searching for deviation folder i dont have.

Please Log in or Create an account to join the conversation.

More
08 May 2013 20:26 - 08 May 2013 20:27 #9717 by sbstnp
Replied by sbstnp on topic VM dedicated to compiling Deviation

Wene001 wrote: please help again
now for me (rbe s repo) it doesnt work
get version in script is searching for deviation folder i dont have.


Should be fixed now. I had to re-add support for old versioning as well. Anyway, sorry for the trouble.

Edit:
deviation self-update

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 08 May 2013 20:27 by sbstnp.

Please Log in or Create an account to join the conversation.

More
08 May 2013 20:51 - 08 May 2013 20:51 #9718 by Wene001
Replied by Wene001 on topic VM dedicated to compiling Deviation
moving filesystem to /media/deviation because of v3.0.0 in the filename

But manual moving this Zip File to /media/deviation is no Problem
Last edit: 08 May 2013 20:51 by Wene001.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum