- Posts: 4402
VM dedicated to compiling Deviation
- PhracturedBlue
- Offline
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).sbstnp wrote: VI is easy:
You might recommend folks try nano or mousepad or some other simple notepad clone instead. Not sure what you have in your VM
Please Log in or Create an account to join the conversation.
- Wene001
- Offline
- Posts: 277
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
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
PhracturedBlue wrote:
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).sbstnp wrote: VI is easy:
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
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
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
Please note that the implementation is rather basic atm, I'll update it over the next few days.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- Wene001
- Offline
- Posts: 277
Thx for help
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
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
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- thwaitm
- Offline
- Posts: 11
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.
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
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
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- thwaitm
- Offline
- Posts: 11
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
- Offline
- So much to do, so little time...
- Posts: 1433
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.
- richardclli
- Offline
- Posts: 199
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- thwaitm
- Offline
- Posts: 11
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.
Please Log in or Create an account to join the conversation.
- Krejzi
- Offline
- Posts: 33
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?
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
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
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- sbstnp
- Topic Author
- Offline
- Posts: 649
deviation self-update
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- Wene001
- Offline
- Posts: 277
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.
- sbstnp
- Topic Author
- Offline
- Posts: 649
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
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- Wene001
- Offline
- Posts: 277
But manual moving this Zip File to /media/deviation is no Problem
Please Log in or Create an account to join the conversation.