Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 04:22
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
createsfs - script to create sfs file from .pet/.sfs files
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
mohan34u


Joined: 14 Nov 2007
Posts: 67

PostPosted: 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.
createsfs.gz
Description  Script to create .sfs file from .pet/.sfs files
gz

 Download 
Filename  createsfs.gz 
Filesize  1023 Bytes 
Downloaded  2119 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
ljfr

Joined: 23 Apr 2009
Posts: 176

PostPosted: 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
View user's profile Send private message 
charlie6


Joined: 30 Jun 2008
Posts: 1006
Location: South of Belgium

PostPosted: 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
View user's profile Send private message 
scsijon

Joined: 23 May 2007
Posts: 1026
Location: the australian mallee

PostPosted: 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
View user's profile Send private message Visit poster's website 
scsijon

Joined: 23 May 2007
Posts: 1026
Location: the australian mallee

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0856s ][ Queries: 13 (0.0387s) ][ GZIP on ]