ke4nt1
Group: Members
Posts: 2329
Joined: Oct. 2003 |
|
Posted: Sep. 03 2004,21:04 |
|
clacker, I normally use " tar -ztf whatever.dsl > w.txt "
Then I LOOK in the text file using scite for things to remove.
The problem I find with removing EVERYTHING that ends in a / is when an EMPTY directory needs to be created.
For example, a program may need to see a sub-directory called "plugins" , but it is empty for now.. Nevertheless, when it boots, it will scan this dir for any plugins you might have installed, and error if it does not find it.
Plus, you get a chance to pullout all the BUNK often found in many programs, like /usr/lib/menu stuff, which is for XF86, and not used in DSL, or the lintian stuff, again not needed for DSL.
Then, use the .. " tar -T w.txt --no-recursion --numeric-owner -cvf- | gzip > whatever.dsl " or whatever syntax you use, to put it back together cleanly...
My thoughts..
Happy Holiday 73 ke4nt
|