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
 

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

reply to topic new topic new poll
Topic: linux-kernel-headers.dsl, over-writes /usr< Next Oldest | Next Newest >
Wittfella Offline





Group: Members
Posts: 33
Joined: Sep. 2006
Posted: Mar. 30 2007,11:59 QUOTE

I'm playing around with dsl 3.3 RC3 with frugal install.  I noticed when I install the linux-kernel-headers.dsl it over-writes the /usr directory.  ie. after installation the /usr dir only contains 'include' directory.

Then you can't do anything, not even reboot from command line because the 'sudo' command is gone.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 30 2007,13:47 QUOTE

It's possible to fix this problem if you download the dsl from the repository rather than using the mydsl tool - this way it will not be loaded.

Once you have the file, copy it to /ramdisk/tmp or similar - then, if you have the very useful user buttons for unpack, list and re-pack dsl added to emelFM, you can make a listing of the dsl.

Once you have the listing, you can use the following command to extract only the files you need and not the clobbering files:

gunzip -c /path-to-file/filename.dsl | tar -xvf - /path-within-dsl/filename

You can use wildcards to speed up the process. Once done, edit the file listing and re-pack the dsl using the emelFM button.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 30 2007,13:53 QUOTE

Just a side-note: you shouldn't have to use linux-kernel-headers in DSL anyways.
- kernelsource.dsl is the correct one for compiling for DSL
- linux-kernel-headers is for some other development kernel afaik
Back to top
Profile PM 
2 replies since Mar. 30 2007,11:59 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: linux-kernel-headers.dsl

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