bofnj at home.com
Fri Jul 7 18:57:58 PDT 2000
I'm currently building a LFS system with *every* package installed in
/opt/packagename , i wrote a little shell script to update ld.so.conf and
$PATH to include everything under there... hopefully it will work
"Thomas T. Veldhouse" wrote:
> You could almost use a gdbm database to keep track of you installed programs
> and the paths. It would be a relatively easy exercise in C. You could run
> the program in /etc/profile like so, export PATH=`buildpath /usr/bin /bin
> /usr/sbin /sbin` and the program buildpath will execute and take the
> parameters and determine what the real paths are. For example, grep is
> usually in /usr/bin, so the /usr/bin entry would be expanded by buildpath to
> have /usr/grep/bin in it.
> How do you deal with conflicts? You could simlink all binaries?
> Tom Veldhouse
> veldy at veldy.net
> ----- Original Message -----
> From: Gerard Beekmans <gerard at linuxfromscratch.org>
> To: <lfs-discuss at linuxfromscratch.org>
> Sent: Thursday, July 06, 2000 12:39 PM
> Subject: Re: Package Management
> > > I would absolutely disagree with you there. I have built my own
> > > configuration style. I place the files where I want them. I build the
> > > packages with the options I want. I optimize my compiles the way I
> want -
> > > and I can rebuild (from source) my entire system quite easily - and I
> > > RPM.
> > Ok that I didn't realize (I really have no idea what can be done with
> > rpm. Didn't know you could build your own rpm's this way) so I withdraw
> > my opinion on that matter.
> > > Does this slow you machine down any? That is quite a hefty search
> path - it
> > > defeats the purpose of the hashing algorithms used by bash and other
> > It sure is yes. I don't notice any performance loss. The speed and
> > memory of this machine might have something to do with that.
> > > It does seem kind of elagant.
> > Thanks. It also gives me a quick overview what I have installed. I
> > remember from when I did use RedHat after a while I just didn't know
> > what programs I had installed without trying to figure that out with
> > rpm, or dpkg. Now I can look in /usr and see what I have and what I
> > don't want to keep. The way I do it gives me a few advantages and most
> > of them are because I'm too lazy to do it more elegant, but that's my
> > choice. I also know it takes more time to keep the system up to date
> > since I have PATH statements in /etc/profile and $HOME/.bashrc (not all
> > paths are in the default system path. sbin directories aren't in
> > /etc/profile but in /root/.bashrc and in my personal .bashrc), library
> > paths in /etc/ld.so.conf a whole shwack of directories in /usr which
> > should be categorized at some point (/usr is a total mess but I'm still
> > coping with it).
> > But hey, whatever works for you. This works for me and I'm not trying to
> > advocate the way I do it. I'm into doing things manually and maintaining
> > my system without the use of rpm, deb and the like is what I like best.
> > --
> > Gerard Beekmans
> > www.linuxfromscratch.org
> > -*- If Linux doesn't have the solution, you have the wrong problem -*-
> > --
> > Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> > IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> > Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> > "unsubscribe" (without the quotation marks) in the body of the message
> > (no subject is required)
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)
Phengophobia- Fear of daylight or sunshine.
Echelon.... Now go away...
I challenge you to name one crisis that can't
be fixed with a leatherman and gaff tape...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-dev