Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 16:12:57 -0500 (EST)
From:      Jamie Bowden <jamie@itribe.net>
To:        Joel Ray Holveck <joelh@gnu.org>
Cc:        Doug Rabson <dfr@nlsystems.com>, Sren Schmidt <sos@freebsd.dk>, Jacques Vidrine <n@nectar.com>, sgk@troutmask.apl.washington.edu, nate@mt.sri.com, kkennawa@physics.adelaide.edu.au, dnelson@emsphone.com, rivers@dignus.com, hackers@FreeBSD.ORG
Subject:   Re: linux software installation and uname
Message-ID:  <Pine.SGI.3.96.981111161234.966M-100000@animaniacs.itribe.net>
In-Reply-To: <86k913hy3q.fsf@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Nov 1998, Joel Ray Holveck wrote:

> >>> Why would we not put a real linux uname(1) in /compat/linux/usr/bin?
> >>> This is an emulation issue.  Why impact the BSD userland sources?
> >> Hear hear!!
> > I imagine that the install script is run by /bin/sh, not
> > /compat/linux/bin/sh so it will get the regular /usr/bin/uname
> > whatever is present in /compat/linux/usr/bin.
> 
> I have yet to hear of any solutions that don't require a hack to the
> install procedure (eg, setting an environment variable).  Unless
> somebody comes up with an idea that would magically detect what
> environment a given script wants, I would recommend putting a Linux
> uname in /copmat/linux where it belongs, and the install procedure's
> PATH can have /compat/linux ahead of /.  This is easy to implement,
> keeps the core of FreeBSD pure, and paves the way for future
> similarities.

chroot /compat/linux ; install

Jamie Bowden

-- 
Systems Administrator, iTRiBE.net

If we've got to fight over grep, sign me up.  But boggle can go.
	-Ted Faber (on Hasbro's request for removal of /usr/games/boggle)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.981111161234.966M-100000>