From owner-freebsd-hackers Thu Nov 12 07:48:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA20269 for freebsd-hackers-outgoing; Thu, 12 Nov 1998 07:48:28 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA20264 for ; Thu, 12 Nov 1998 07:48:26 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.1/8.8.8) id HAA05341; Thu, 12 Nov 1998 07:49:57 -0800 (PST) (envelope-from sgk) From: Steve Kargl Message-Id: <199811121549.HAA05341@troutmask.apl.washington.edu> Subject: Re: linux software installation and uname In-Reply-To: <86n25xih5w.fsf@detlev.UUCP> from Joel Ray Holveck at "Nov 12, 1998 0: 0:59 am" To: joelh@gnu.org (Joel Ray Holveck) Date: Thu, 12 Nov 1998 07:49:57 -0800 (PST) Cc: dfr@nlsystems.com, sos@freebsd.dk, n@nectar.com, nate@mt.sri.com, kkennawa@physics.adelaide.edu.au, dnelson@emsphone.com, rivers@dignus.com, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Joel Ray Holveck: > >> 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. > > What about install scripts that reside on cdroms? You can't magically > > edit a cdrom install script unless unionfs works. > > I'm not talking about editing a script. I'm talking about: > > PATH=/compat/linux/bin:/compat/linux/usr/bin:${PATH} ; make install > Echo: What about install scripts that reside on cdroms? You can't magically edit a cdrom install script unless unionfs works. #! /bin/sh PATH=/cdrom:/foo:/bar export PATH ... rest of script -- Steve finger kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~clesceri/kargl.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message