Initial Path - Question...

Michael D. Setzer II mikes at kuentos.guam.net
Mon Nov 3 13:33:04 PST 2008


On 3 Nov 2008 at 8:31, Steve Iribarne (GMail) wrote:

Date sent:      	Mon, 3 Nov 2008 08:31:39 -0800
From:           	"Steve Iribarne (GMail)" <netstv at gmail.com>
To:             	"Michael D. Setzer II" <mikes at kuentos.guam.net>
Subject:        	Re: Initial Path - Question...
Copies to:      	busybox at busybox.net

> I'm not really sure I understand 100% of the issue here.
> 

Busybox is the init process on the cd, so it sets the initial path for the system. 
As another message pointed out, this is defined in messages.c, and has a fixed value.




> 
> On Sun, Nov 2, 2008 at 10:26 PM, Michael D. Setzer II
> <mikes at kuentos.guam.net> wrote:
> > I have the g4l project that uses busybox plus a number of other programs.
> > A number of the additional programs I was building and installing manually into directories in
> > the path.
> 
> Into what path?
> 
> 
> 
> >As it turns out, some of the programs make install puts the files in the /usr/local/bin
> > or /usr/local/sbin.
> >
> > I then wrote a little script that will compare the files in my build directory, to the systems to
> > see if the files have been updated, and show what is different. I then moved the files from
> > there old locations to the new /usr/local directories. I had found a web page saying the
> > /usr/local directories are part of the standard path. But a test of the new build fail, and
> > checking the path showed the /usr/local were not part of the path with the boot.
> >
> 
> When you do a "make install" you should do something like "make
> DESTDIR=<path-root-of-install> install".  That's if I understand what
> you wrote above.  I do this for many applications that I build and put
> into my ramdisk.
> 
> 
> > I added an export to command to the .bash_profile to fix the issue, but was wondering if there
> > is a better way, or if this is how things are suppose to be. Not sure where the PATH value is
> > set.
> >
> 
> Yeah.. this is where I'm tossed off.  Adding an export command for
> what?  Anyway.. I hope my little bit of info above helped.
> 
> -stv
> 
> 
> -- 
> /*
>  * Steve Iribarne
>  * Software Engineer
>  * (aka Grunt)
>  */


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
SETI 6,734,950.2088 | EINSTEIN 2,081,957.9009 | ROSETTA 668,226.5637



More information about the busybox mailing list