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: dsl2unc, .unc extensions made easy< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 09 2007,05:06 QUOTE

Quote
If you've got it all compiled and running ok from /opt,  you should build a uci instead of an unc


If only I could figure out how to make one...
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: June 09 2007,21:08 QUOTE

Guess we still have a doc problem.

This is from Saidin's notes in the old wiki and is about repacking a uci - I don't know if it's still there.  You need to adapt it a bit to make a uci from scratch.  In your case you're half way there since I don't think you need a user.tar.gz (no menu or icon).

Replace /opt/firefox in the following with /opt/xorg72.

Instead of steps 8 and 9, put any files and their directories that need to be written to writeable areas of the filesystem (/home/dsl, /opt (other than in xorg72), /tmp) such as menus or icons in the work/firefox/user directory,  and make a list with eg:

cd user
find -type f >list

========================

To change/update a UCI file do the following: (example here is firefox.uci)
1. mount the uci as normal
2. mkdir work
3. cd work
4. cp -a /opt/firefox/.
5. cd firefox
6. mkdir user
7. cd user
8. tar -zxvf ../user.tar.gz
9. tar -ztf ../user.tar.gz > list
10. -- now edit the actual files as needed --
11. -- be sure to edit/update the "list"
12. tar -T list --numeric-owner --no-recursion -czvf ../user.tar.gz
13. cd ..
14. rm -rf user
15. cd ..
16. mkisofs -R -hide-rr-moved -cache-inodes -pad firefox/|create_compressed_fs - 65536 > ../firefox.uci
17. cd ..
20. rm -rf work
(Thanks to Robert Shingledecker)
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 10 2007,05:52 QUOTE

Quote
Guess we still have a doc problem.

Oops, not really...I've been to the extensions page in the Wiki several times, but managed to miss the uci part - maybe because I was looking for unc at the time.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: June 10 2007,17:11 QUOTE

Quote (WDef @ June 09 2007,17:08)
You need to adapt it a bit to make a uci from scratch.

One thing that isn't included is the removal of the .xtdesktop icon when the uci is umounted.  I'm not sure what the standard way of doing this is.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 10 2007,17:15 QUOTE

Don't use the Status field in an Icon file for any extension and it should be automatically deleted upon shutdown.
Back to top
Profile PM WEB 
25 replies since Sep. 14 2006,19:06 < 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: dsl2unc

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