Hi
@greengeek
Thanks! I've read the post - and I understand technosaurus' concerns.
I just made a pet from a mounted save-file with "dir2pet" and it works well, because it copies everything - including symlinks etc...
When I want to remove things from the pet - doing "pet2tgz" and extract it to a folder - symlinks (and stuff?) are automatically removed and when I compile a new pet from the extracted folder I get a pet which is MUCH bigger - even if I removed a lot of things....
Then it's easier to stick with the first pet - made directly from the save-file, even if it's full of unneccesary stuff...
I'd love to know how to do it the "right" way though...
@jrb
Thanks!
If I understand the procedure correctly, I should/could use any SFS file, empty it - and put in any file - directory structure (ie contents from a pet or my save file) - and it will (re)write the SFS to have my files in it?!
The idea of "renaming puppy_xxx.sfs to zdrv_puppy_xxx.sfs and rename the generic SFS to puppy_xxx.sfs" - is compelling and just might be something to strive for, however I still haven't made my first SFS file yet - and I'm struggeling to get a "head and tails" of a possible simple workflow for creating pet-packages out of already successfully installed applications. I guess I will get there at some point.
Where I'm at - with my save-file, which I want to collect into a SFS file:
I installed the Node.js package**, Chromium, and tws (a Node.js server made for running TiddlyWiki* files=single file html/javascript apps) through port 1337. I made an AppStarter for TiddlyWiki ressources. I also installed a Chromium extension for the tws/server and made the system start up with the tws-server and the AppStarter. There are also a couple of desktop files - one for the AppStarter and another one for opening a TiddlyWiki as a Chromium app,
I guess that I should be able to convert my pet file (made from a mounted save-file) into a SFS file. (?)
Then I should be able to use Edit-SFS 2.1 (EDIT: Hmm - Edit-SFS 2.1 doesn't seem to be compatible with Precise 5.4.3. It won't install... ) to edit the contents of the SFS file, without breaking symlinks etc... (I simply want to remove most of the unneccesary files copied from the original save-file)....
Please tell, if you know a better way to do it.
Thanks for helping me out here - so far it seems to be possible to do what I want to do, however I'm not sure if I should change my work flow and try to install Node.js, Chromium - create my .sh and .desktop files while I'm running a new2dir command.... haven't tried that yet - as I don't quite understand how I get changes I make (icons, my-applications etc) get into the equation?
Cheers Måns
*
http://tiddlywiki.com
**
http://nodejs.org/
Edit: Here's the pet I've compiled from my save-file: (tws4precise.pet (63.7 MB))
DOWNLOAD
Now I've made a SFS file like this:
Code: Select all
mksquashfs <path_to_directory> <path_to_directory>.sfs -noappend
where my mounted save-file is the first directory and the second directory is on my usb stick.
The sfs file is a little smaller than the pet file (59 MB) and I haven't tested it yet...
DOWNLOAD