Author |
Message |
mohan34u

Joined: 14 Nov 2007 Posts: 67
|
Posted: Fri 06 Feb 2009, 03:54 Post subject:
createsfs - script to create sfs file from .pet/.sfs files Subject description: This script will create .sfs file from one or more .pet/.sfs files |
|
Hi,
This script will create .sfs file from one or more .pet/.sfs files. It will be useful to add pet packages to already existing .sfs files or create new .sfs file from multiple .pet packages.
1) creating .sfs file from multiple .pet packages,
Code: | $ createsfs -f firefox dbus-1.2.2-i686.pet dbus-glib-0.80-i686.pet fontconfig-2.6.0-i686.pet inputproto-1.5.0-i686.pet libXi-6.0.1-i686.pet firefox-3.0.6-i686.pet |
this will create firefox_411.sfs file.
2) creating .sfs file from .pet package and .sfs file
Code: | $ createsfs -f devx_updated php-5.2.8-i686.pet devx_411.sfs |
This will create devx_updated_411.sfs with php which can be used with puppy version 4.11
3) creating .sfs file with different puppyversion number
Code: | $ createsfs -f devx_updated -r 300 php-5.2.8-i686.pet devx_411.sfs |
This will create devx_updated_300.sfs with php which can be used with puppy version 3.00.
If you find any errors or improvements in this script, please post here.
Description |
Script to create .sfs file from .pet/.sfs files
|

Download |
Filename |
createsfs.gz |
Filesize |
1023 Bytes |
Downloaded |
3598 Time(s) |
|
Back to top
|
|
 |
ljfr
Joined: 23 Apr 2009 Posts: 176
|
Posted: Thu 23 Apr 2009, 05:05 Post subject:
use of pet2tgz to rename the file |
|
Hi mohan34u,
your script works great - already made few sfs with it.
I just had a problem once with gimp 2.4.5 from ttuxxx http://www.puppylinux.asia/tpp/ttuuxxx/programs/graphics/gimp-2.4.5-i386-full.pet
maybe due to: mv "${FILE}" "${FILE%.pet}.tar.gz",
when i do that manually then extraction fails (but I don't have any error message from createsfs script...)
anyway solved it, by doing it step by step, using pet2tgz
, tar xzf, dir2iso.
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1221 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Mon 18 Jan 2010, 15:32 Post subject:
|
|
Hi mohan34u,
thanks a lot for your script..
Sorry if my question could look a bit trivial...
please how does one practicaly use the
createsfs -f file.pet
to get file.sfs? I do not know how to use that script..I tried in a terminal...no success. What stands the $ in front of createsfs for...? Where do I write that script and how run it..?
Sorry ...
Thanks for any advice
Cheers, charlie
|
Back to top
|
|
 |
scsijon
Joined: 23 May 2007 Posts: 1535 Location: the australian mallee
|
Posted: Thu 10 Mar 2011, 07:01 Post subject:
|
|
A few questions if I may.....
1/ Do we have a limit on the number of pets that can be added to create a sfs?
2/ Do we have a size limit on the created sfs?
3/ Can you check that this is the right way to predefine the final name of the sfs.
$ createsfs -f mysfs pet1.pet pet2.pet pet3.pet
creates a sfs with the name "mysfs.sfs"
and
4/ Finally, am I allowed to include pathnames for the pets or do they need to be in the one directory
thanks
scsijon
|
Back to top
|
|
 |
scsijon
Joined: 23 May 2007 Posts: 1535 Location: the australian mallee
|
Posted: Fri 18 Mar 2011, 23:29 Post subject:
|
|
to answer my own questions (to date I have found:)
1:- no and yes, Can add more than, but can't seem to get past 63 pets if I wish to add menu items for them.
2:- no
3:- yes
4:- no, must be in the one directory and with plenty of disc space (3-4 times the pet lists total size).
|
Back to top
|
|
 |
|