From owner-freebsd-emulation Tue Dec 22 09:43:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22977 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 09:43:35 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22971 for ; Tue, 22 Dec 1998 09:43:32 -0800 (PST) (envelope-from bartol@salk.edu) Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id JAA02787; Tue, 22 Dec 1998 09:16:36 -0800 (PST) Date: Tue, 22 Dec 1998 09:16:34 -0800 (PST) From: Tom Bartol To: Mike Smith cc: Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812220126.RAA01795@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 21 Dec 1998, Mike Smith wrote: > > On Mon, 21 Dec 1998, Mike Smith wrote: > > > > > > > >I'm struggling with the IBM DB2 installer at the moment; they're > > >wholesale sold on the RPM thing, which isn't necessarily a bad idea, > > >however it means amongst other things that you need a functional rpm on > > >your system, as well as a pile of RPMs installed (including some of the > > >base system ones). > > > > > >The rpm binary from RedHat's 5.2 release segfaults on exit, > > >unfortunately, which upsets the installer no end... > > > > > >Any suggestions? > > > > > > You can bypass an RPM installation - use rpm2cpio to extract the cpio > > archive from the RPM file, and then extract the files from there. > > > > Not pretty, but certainly a lot nicer than trying to retrofit RPM into > > FreeBSD. > > Unfortunately, IBM have done exactly the "right thing", and their > installer frontends for RPM as well as doing other configuration things. > It would probably be possible to bruteforce it and then > reverse-engineer what it does, but it does a *lot* of stuff, and I > would prefer to stick with their tools when possible. > > 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? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message