Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (13) </ 1 2 3 4 5 [6] 7 8 9 10 11 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: new extensions in 0.7< Next Oldest | Next Newest >
saffo Offline





Group: Members
Posts: 12
Joined: May 2004
Posted: May 14 2004,16:39 QUOTE

Is there a way to make my own DSL extensions (packages)?
Back to top
Profile PM 
nucpc Offline





Group: Members
Posts: 89
Joined: Dec. 2003
Posted: May 14 2004,18:42 QUOTE

Saffo, the way I'm making mine is rather clumsy, it goes like this;

(This won't be too helpful if you haven't done too much with linux before)
basically you go to the Debian site and get the file list of your desired package. Then I'm either opening
a .deb in a temporary directory or manually copying the files (with full directory path names) in following
a `synaptic grab' of them. Then the tricky bit is trying to find out what libraries it needs. If you've got
synaptic working it's easy to grab things and then check everything that's new in /usr/lib (i.e. everything
that's not a symbolic link). Then if you think you've got everything go to the top of your temporary
directory and

tar cvf file.tar usr etc home

where the last three things are just examples of the directories you will have created.

Then gzip and rename as file.dsl.

So perhaps not too helpful a reply but I can't think of a quicker way.......
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 14 2004,19:04 QUOTE

Sure. I am hoping that people will. The whole point is to be able to make these and share with others. Note: there is no code in them!
The whole idea is based on the orginal filetool.lst. I was seeing what people were doing with it. Also, when I implemented cbagger's Synaptic script, the rest came to me.
Some had suggested to use the debian pkgs. The problem with that approach is:
1. No icons
2. No fluxbox menus
3. Difficult to share with others because of 1 & 2
4. Wastes memory for docs, man pages, menus and other files nor really needed.
5. Dependencies requiring other pkgs not needed or wanted
6. Possibly breaking exisiting programs or infastructure

So, to finally answer your question. I usually test load a desired applicaton to a hard drive installed system. If it came from a tar.gz then no problem as I can see the files that it loaded by using the tar -t command. If I load from a deb file. I can use the dpkg -L to see the files. Actually, I redirect to a file. Then I edit the file, removing the docs, man pages, menus, and other such stuff. Then I repackage it. If you look at the filetool.sh program it created it tar file from a list, the filetool.lst. So I just use a variation of this to create the tar and then gzip it. If it requires a writeable structure on the liveCD it is renamed with a dsl extenstion.

There is actually several variations to this. If you are more advanced and feel that the source of this application may break current libraries then we have a procedure to separate out the applicatons unique libraries and make a small shell script wrapper for the particular application and its unique libaries.

If the application does not need a writable structure then please do  not make it a dsl. Leave it as a tar.gz.  Some people with low memory can still use some tar.gz and may not be able to "afford" the i-node hit from having to have a writeable structure when not needed.

Now, lets see: We need an Mplayer.dsl and a ....
Back to top
Profile PM WEB 
RoGuE_StreaK Offline





Group: Members
Posts: 418
Joined: Jan. 2004
Posted: May 15 2004,15:06 QUOTE

OK, any ideas on how to have the live-cd NOT automatically load certain .dsl or .tar.gz files?  For example, if you have open office on the CD, but the machine you want to use doesn't have 384MB of RAM?
Maybe have these files in a sub-dir and have scripts to install them when wanted?  I'd like to make a mini-CD with a whole host of packages for certain situations, but not have every one of them load each time you boot?

One minor suggestion for the next release, in the mkmyDSL script, how about an option to only create the iso, not go ahead and burn it?  I'm fairly sure I understand what the script's doing and how to edit it for myself, but might be an idea for the general distro?


--------------
"I find your lack of penguin disturbing"
                                      - Darth Tux
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 15 2004,16:47 QUOTE

Rogue_Streak, those are some good suggestions. I personally do not like to have to have alot of user intervention. I like to make a system that boots up without answering alot of questions. MyDSL concept was to create a system targeted for a particular hardware without any user intervention. Also I didn't  want to promote downloading extensions everytime one boots a liveCD.  That is a bandwidth killer. However, your suggestion has already been discussed on how to best implement. There are already more options developed and working for 7.1
Back to top
Profile PM WEB 
64 replies since May 13 2004,16:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (13) </ 1 2 3 4 5 [6] 7 8 9 10 11 ... >/
reply to topic new topic new poll
Quick Reply: new extensions in 0.7

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code