[WBEL-devel] LVM version 1.0.8-5 broken
Milan Ker¹lįger
milan.kerslager@pslib.cz
Fri, 24 Sep 2004 22:57:58 +0200
On Thu, Sep 23, 2004 at 07:47:30AM -0400, Raimo Koski wrote:
> Milan Kers(la'ger wrote:
> >On Thu, Sep 23, 2004 at 12:43:39AM -0400, Raimo Koski wrote:
> >
> >>Dag has similar install script in his dar package. Full install of LEL
> >>is currently little over 5 GB and with the current cost of hard disks it
> >>is about 2.5 $/EUR, so there is no sense in trying to save some space or
> >>do tricks. That separate install partition can be used for testing and
> >>comparing the results, so even that is not wasted.
> >
> >
> >You don't need separate partition since chroot works far better and it
> >is almost the same.
>
> Well, it doesn't work better and it isn't the same. That install
> partition should be used to install a distro, boot it, save env vars,
> boot again to master, copy installed distro to chroot dir and repeat for
> each distro desired. Later you can mkfs the install partition and copy
As I said there is no reason for this and RH folks has chroot
environment for building too. Well maybe they are not building x86 stuff
on x86_64 (AMD64) box but this is not interesting part of the story.
If you would like, you can reboot to compile every one piece of a
package. But your binaries will be exactly the same as mine when
building in chroot (ok, only if somebody will not write SPEC file
dependent on running kernel - but I'm able to catch this sort of
troubles).
> /usr/src has linux source code which may differ. Some subdirs could be
> shared, like /usr/src/redhat/RPMS for different archs, but if you have
> different distro levels, you will have hard time separating packages for
> those distro levels for distribution. Much easier to have the whole tree
> separate for each chroot. Performance-wise you should have
> /usr/src/redhat/BUILD on a different disk as well as /var/tmp to avoid
> copying within one physical disk. Add RAID to that and it gets more
> interesting..
This is all about I wrote here. Just use chroot to gain more power to
your hands.
--
Milan Kerslager
E-mail: milan.kerslager@pslib.cz
WWW: http://www.pslib.cz/ke/