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: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: how to make my own DSL module< Next Oldest | Next Newest >
Delta-9 Offline





Group: Members
Posts: 17
Joined: May 2004
Posted: Oct. 02 2004,16:45 QUOTE

Great info!  I need to digest this material myself.  For noobs like us, would it be smarter to limit creations to *.tar.gz and changes to *.dsl to the /opt, /home/ and /tmp dirs?

So far, everything I've done falls into this category except for one standalone executable (so no complicated libs or dependancy issues).  Where should such an executable properly be placed?

I wasn't really thinking about stuff for mass consumption, as I think one should develop some level of proficiency before submitting anything.  Hence, you won't find any extensions with my name on them ... yet anyway :) .  I wouldn't want to flood our brilliant developers with poorly constructed extensions!  I think their time is probably better spent working on the base system.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Oct. 02 2004,22:49 QUOTE

Actually , the only real difference between .tar.gz's and .dsl's , besides the name ,
IS the fact that the .tar.gz's ONLY write to /opt , /home , and /tmp ...

Other than that, they are identical..

My suggestion would be to not worry at first about forcing your chosen
app to run within the .tar.gz restrictions..

Usually this involves creating paths and wrappers to redirect file request calls
to directories inside the extension, rather than looking thru the usual places
like /usr/bin ,  /usr/lib ,  and so on ...

Playing with existing ones is good karma, since you know they already work.
Look inside them by using the " tar -ztf nameofdsl.dsl > nameofdsl.txt "
Open the text file, and see just what IS inside those buggers...

Then using the dsl2deb script, written by cbagger01,
and found here in the forums, is another useful tool to help build your firsts...
Look at the script itself, and study what it does ..
I use this to pull down a quick-n-dirty .dsl from the apt-get .debs .
Works like a champ..

Then read the notes linked in this thread to learn how to open it,
reduce its payload by removing unneccesary files
like docs, mans, texts, etc.. checking permissions and owners,
and then howto put it back together correctly so it installs
and runs without errors occuring in the desktop or filesystem..

if you run into a challenge, search the forums for solutions ..
Chances are, we've seen it, posted it, or read about it here ..
Then share your success , challenge, and solution with us ..

73
ke4nt
Back to top
Profile PM 
max-ebb Offline





Group: Members
Posts: 22
Joined: Sep. 2004
Posted: Oct. 04 2004,22:44 QUOTE

thanks for the feedback and tips.
I think playing with packages is the most funand rewarding way to get involved with this great project.
for a newbie like me it'l take a while before coming up with something usable but its funnier and more constructive than just posting a wish list eheheheh.
Back to top
Profile PM 
7 replies since Oct. 01 2004,04:06 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: how to make my own DSL module

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