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

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

reply to topic new topic new poll
Topic: More questions regarding compiling extensions, Yeah baby, you want it< Next Oldest | Next Newest >
b1ackmai1er Offline





Group: Members
Posts: 115
Joined: June 2005
Posted: Sep. 15 2007,17:44 QUOTE

Hi guys,

I have tried to convert my extension from a .tar.gz to a uci but the user.tar.gz section does not seem to work.

Is there anyway I can look into the uci to see what is inside it and the structure?

Thanks Phil
Back to top
Profile PM 
b1ackmai1er Offline





Group: Members
Posts: 115
Joined: June 2005
Posted: Sep. 15 2007,18:51 QUOTE

I found the mistake I made.

Can I run a script automatically from the uci during installation to create my links in /opt/bin? If so what should the script be called and where do I put it?

Or do I have to include the link in the uci so it is automatically extracted to the correct directory.

Thanks Phil
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 15 2007,19:29 QUOTE

You can't run a script during installation. Adding /opt/bin/mylink to user.tar.gz should be sufficient. A symlink is essentially only as large as the number of characters in its filename, so it won't affect the size of your package.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
b1ackmai1er Offline





Group: Members
Posts: 115
Joined: June 2005
Posted: Sep. 16 2007,10:56 QUOTE

Thanks, that is exactly what I needed to know

cheers Phil
Back to top
Profile PM 
b1ackmai1er Offline





Group: Members
Posts: 115
Joined: June 2005
Posted: Sep. 16 2007,14:12 QUOTE

Guys, I can't work out the directory structure to I need to set up before I create the compressed uci filesystem

In /home/dsl/work/ I have

opt/gnuplot/bin ... lib etc (the main app and subdirectories)
opt/bin/gnuplot  (link to main executable)
opt/user.tar.gz (icon and menu command)

so in /home/dsl/opt/ I type

mkisofs -R -hide-rr-moved -cache-inodes -pad ./|create_compressed_fs - 65536 > ../gnuplot.uci

When loaded the icon appears on the desktop but the /opt directory structure is not right.

instead of /opt/gnuplot/bin etc I get /opt/gnuplot/gnuplot/bin

The other issue is that the user.tar.gz  appears in /opt/gnuplot/ and I am not sure this is supposed to.

Thanks again. Phil
Back to top
Profile PM 
28 replies since Sep. 07 2007,16:00 < Next Oldest | Next Newest >

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

Pages: (6) </ 1 2 3 4 [5] 6 >/
reply to topic new topic new poll
Quick Reply: More questions regarding compiling extensions

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