On Tue, 29 May 2001, David Douthitt wrote:

> Pim van Riezen wrote:
> >
> > On Tue, 29 May 2001, David Douthitt wrote:
> >
> > > My compile time environment is Red Hat 6.x with the glibc 2.0
> > > compatability libraries - thus I've gotten to appreciate make -e quite
> > > well.
> >
> > I created a redhat5.2 install in a separate directory with rpm --root and
> > I chroot() to there when I want to mess with glibc2.0, much easier on the
> > stomach :)
>
> There was a lot of talk about using chroot's to Debian Slink 2.1 to do
> the same thing.
>
> Can you detail how rpm --root works and what part it plays?  Most of
> my systems around here don't have that kind of space, but it is still
> an idea.

You can get away with installing very little. Just a shell and whatever
you need to compile things, no need for (apache|inetd|sshd|passwd|ftp|
netscape|gnome|kde) to compile :).

Here's the trick:

1) Create a directory, say, /usr/vroot/redhat5.2
2) Create the /var/lib/rpm directory in there and do a
   "touch packages.rpm" inside.
3) Install whatever packages you need in there with
   rpm --root=/usr/vroot/redhat5.2 -i $PACKAGES

   It's just a matter of selecting the proper ones. The install
   I have is a rather complete redhat5 (I wanted to de X compiles as well)
   but I think you could probably get away with the following list:

setup-1.9.2-1
filesystem-1.3.2-3
basesystem-4.9-3
ldconfig-1.9.5-8
glibc-2.0.7-29
glib-1.0.6-3
shadow-utils-980403-4
mktemp-1.4-3
termcap-9.12.6-11
libtermcap-2.0.8-10
bash-1.14.7-13
MAKEDEV-2.3.1-7
chkconfig-0.9.6-1
ncurses-4.2-10
fileutils-3.16-10
grep-2.2-2
ash-0.2-12
bc-1.05a-1
binutils-2.9.1.0.15-1
bzip2-0.9.0b-2
sed-3.02-1
textutils-1.22-7
dev-2.5.9-1
diffutils-2.7-11
file-3.25-2
findutils-4.1-25
gawk-3.0.3-3
gdbm-1.7.3-17
make-3.76.1-5
groff-1.11a-6
gzip-1.2.4-12
less-332-2
libc-5.3.12-27
libstdc++-2.8.0-14
gcc-2.7.2.3-14
ld.so-1.9.5-8
sh-utils-1.16-14
strace-3.1-11
man-1.5f-1
ncompress-4.2.4-11
net-tools-1.46-1
perl-5.004m4-1
readline-2.2.1-1
readline-devel-2.2.1-1
vim-common-5.3-3
vim-minimal-5.3-3
util-linux-2.8-11
which-1.0-8
bin86-0.4-5
traceroute-1.4a5-7
cvs-1.10.2-1
glibc-devel-2.0.7-29
kernel-headers-2.0.36-0.7
ncurses-devel-4.2-10

HTH HAND
Pi

-- 
Head Development - Vuurwerk Internet (http://www.vuurwerk.nl/)
Brainbench MVP Unix Programming, twisted artist and Free Software idiot.

I need a mental stoma.


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to