From owner-freebsd-emulation Tue Dec 22 13:40:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20987 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 13:40:28 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20940 for ; Tue, 22 Dec 1998 13:40:21 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA00866; Tue, 22 Dec 1998 13:35:21 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812222135.NAA00866@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: SXren Schmidt cc: bartol@salk.edu (Tom Bartol), mike@smith.net.au, Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-reply-to: Your message of "Tue, 22 Dec 1998 22:27:41 +0100." <199812222127.WAA05225@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 22 Dec 1998 13:35:21 -0800 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA20977 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > It seems Tom Bartol wrote: > > > > > > What I effectively need is rpm running in the linux context, ie. > > > managing the contents of /compat/linux. I think it will actually work > > > (it'd be nice to fix the secfault-on-exit problem of course), I just > > > have to deal with all the prereqs. > > > > > > > How about running rpm in a chroot'd environment rooted at /compat/linux > > and adding a the /var tree under /compat/linux? > > Why all the trouble, how about: > > rpm -i --ignoreos --root /compat/linux /path/to/the/rpm/packages > > That works for the Oracle senario.... Because, if you'd been following the thread, you'd have discovered that rpm is called out of the IBM DB2 installer binary. 8) Your observation about needing an RPM database for the installed components in the linux_lib port is spot-on too; this is going to be a prerequisite for linux_lib 2.7 I think. I mailed Eric to see if he had a list of libraries that he normally includes somewhere; failing that I guess it's just going to be time to sit down with a new RedHat CDROM. One other question - have you tried using the Linux 'rpm' binary? It segfaults on what seems to be exiting, but I can't see any reason for it... -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message