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: UCI question< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Jan. 29 2008,06:42 QUOTE

Quote (lucky13 @ Jan. 29 2008,00:04)
What did you link? I haven't used your extension, but it should overlay /usr leveraging unionfs. If you added links from /opt to those locations it's still overwriting /usr. No?

Edit: And if it's overwriting /usr, is it doing it now via unionfs or RAM as a dsl would?

I don't think it's overwriting anything; I added link "vim" to /usr/local/share.  That solved the issue.  


http://jpeters.net/apps/vim_7.1.uci

Quote

Personally, I think recompiling is the best way to solve the problem, since it not only eliminates the manual work of making symlinks, etc, it also saves you the trouble of making a 'user.tar.gz' file with the data files (e.g. help-menu files, spellcheck files) that are in '/usr/local/share/vim/vim71/'.


Actually, I simply used a wrapper, which checks to see if there's a link, if not adds it  A wrapper is frequently needed with UCI's anyway, such as for exporting paths to libraries.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Jan. 29 2008,07:34 QUOTE

Quote
I added link "vim" to /usr/local/share.
Unfortunately, that doesn't count as a valid .uci according to the standard.  Although it may work, it will cause mkwriteable to be invoked (unless that has changed recently)

Quote
A wrapper is frequently needed with UCI's anyway, such as for exporting paths to libraries.
It's different because you are changing a restricted part of the filesystem.. for the same reason (above).
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Jan. 29 2008,08:22 QUOTE

Quote (^thehatsrule^ @ Jan. 29 2008,02:34)
Quote
I added link "vim" to /usr/local/share.
Unfortunately, that doesn't count as a valid .uci according to the standard.  Although it may work, it will cause mkwriteable to be invoked (unless that has changed recently)

Okay, so I'm guessing recompiling with --prefix=/opt/vim_7.1 will get all the paths into the /opt directory.  A few more weeks on the DSL board should prepare me for taking the California bar exam  :)

edit: I wasn't referring to gin & tonics
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 29 2008,13:48 QUOTE

Quote
Okay, so I'm guessing recompiling with --prefix=/opt/vim_7.1 will get all the paths into the /opt directory.
Unless the process has changed since 6.x, that should work just fine. The existing vim.uci was built that way.


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





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Jan. 29 2008,17:51 QUOTE

Quote
Okay, so I'm guessing recompiling with --prefix=/opt/vim_7.1 will get all the paths into the /opt directory.

Yes, vim compiles very nicely there with no need for wrapper scripts. Are you going to add the patches (242 as of this moment)?


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
25 replies since Jan. 28 2008,21:55 < 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: UCI question

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