From owner-freebsd-hackers Sat Nov 14 15:04:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24107 for freebsd-hackers-outgoing; Sat, 14 Nov 1998 15:04:29 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24102 for ; Sat, 14 Nov 1998 15:04:27 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id QAA13910; Sat, 14 Nov 1998 16:04:00 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp04.primenet.com, id smtpd013887; Sat Nov 14 16:03:53 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id QAA25590; Sat, 14 Nov 1998 16:03:53 -0700 (MST) From: Terry Lambert Message-Id: <199811142303.QAA25590@usr02.primenet.com> Subject: Re: linux software installation and uname To: sgk@troutmask.apl.washington.edu (Steve Kargl) Date: Sat, 14 Nov 1998 23:03:52 +0000 (GMT) Cc: tlambert@primenet.com, jb@cimlogic.com.au, crossd@cs.rpi.edu, jkh@time.cdrom.com, nate@mt.sri.com, hackers@FreeBSD.ORG In-Reply-To: <199811112316.PAA03393@troutmask.apl.washington.edu> from "Steve Kargl" at Nov 11, 98 03:16:17 pm X-Mailer: ELM [version 2.4 PL25] 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 > Well, I started the thread, so here goes. It isn't that simple, > the script also checks to see that it was executed from /cdrom/x86-1.7/linux. > You can work around that I suppose once you find all the dependency. Or even ignoring the dependency as being irrelevent to the issue: #!/bin/sh # assume failure... PRESTATUS="FAIL" preinstall() { echo "PREINSTALL started" if [ -d /cdrom ] then echo "renaming /cdrom; we need a work directory named /cdrom" mv /cdrom /cdrom-linux-was-here fi mkdir /cdrom mount /dev/cd0a /mnt cd /mnt echo "copying install image to writeable hierarchy for patching" tar cf - . | (cd /cdrom ; tar xvf -) unount /mnt echo "patching the bejesus out of things..." # Oh, look, a patch that, if sent to the vendor, would make # the next CDROM install on FreeBSD as well as Linux, without # all the hoopla... patch < Next, you need to specify where the libgcc and libf2c for linux live. /compat/linux/usr/lib > This can be fixed after the install. There other idiosyncracies that > need to be adjusted. Yeah, so? That's why there are software engineers. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message