|
2009-10-30
, 13:14
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#2
|
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
|
2009-10-30
, 14:14
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#3
|
I'm curious about in what way your scratchbox setup is getting ***ed up? Is it the scratchbox installation itself? If so, what kind of actions causes this? I haven't had any such issues myself (note I'm on pre-fremantle scratchbox). As for applications or software I'm working on, I'm using GIT to keep track of versions, problems and roll-backs. I access the scratchbox user area from my host login (using the host GIT), I only use the scratchbox login to do the actual builds (and any apt-get commands). This way I can also clone the code I'm working on to somewhere else.
|
2009-10-30
, 14:24
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#4
|
|
2009-10-30
, 19:39
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#5
|
|
2009-10-30
, 23:11
|
|
Posts: 170 |
Thanked: 261 times |
Joined on Feb 2009
@ Gothenburg, Sweden
|
#6
|
After ****ing up my Scratchbox for the umptieth time I dediced to use a snapshotting solution hence currently I'm using snapshotting together with Scratchbox & Maemo SDK. Whenever I start to work I first make a snapshot. This is included in a script before it calls /scratchbox/login and if I screwed up I can rollback to a previous snapshot.
The advantage is that when you ****ed up your SDK you can switch back to a previous image in a wink without requiring to reinstall Scratchbox and SDK. It also does not use much more diskspace because only when files are different the different version is saved; ie. there are no dupes.
The disadvantage is that there is overhead involved. In my case I'm using ZFS-FUSE, which is not fun for I/O, although it does work. I cannot compare performance because I'm using different target storage than I was when using Ext4.
If there is interest I can provide a howto for using ZFS-FUSE together with Scratchbox & Maemo SDK.
Has anyone tried a similar setup (without VM images)? What did or do you use for providing snapshot/rollback support? Perhaps on a different layer than filesystem layer? What is the best solution to get this working well?
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!