Installing a very old Fedora (FC6) in a chroot?
Björn Esser
bjoern.esser at gmail.com
Wed Jun 12 12:58:35 UTC 2013
Am Mittwoch, den 12.06.2013, 14:56 +0200 schrieb Björn Esser:
> Am Mittwoch, den 12.06.2013, 08:44 -0400 schrieb Martin Langhoff:
> > To test / bench / verify old behaviour of PHP4, I need to install FC6
> > in a chroot.
> >
> > Mock doesn't seem to work, given a reasoanble config file pointing to
> > the archive repo. Are there any good / recommended alternatives? Or is
> > mock expected to work?
> >
> > cheers,
> >
> >
> >
> > m
> > --
> > martin.langhoff at gmail.com
> > - ask interesting questions
> > - don't get distracted with shiny stuff - working code first
> > ~ http://docs.moodle.org/en/User:Martin_Langhoff
>
> Hello Martin!
>
> If there was yum in fc6 (I don't know) you can setup a
> yum.repos.d-config for fc6 and do something:
>
> yum --disablerepo=* --enablerepo=fc6 --installroot="$chroot_dir" \
> --nogpgcheck -y install yum
>
> mount all needed:
>
> mount -t proc foo $chroot_dir/proc
> mount -t sysfs foo $chrrot_dir/sys
> chroot $chroot_dir /bin/bash --login
>
> remove rpm-database and related stuff afterwards and reinit:
>
> cd /var/lib/rpm && rm -rf * && rpm --initdb
>
> re-populate rpmdb with installed pkgs:
>
> yum install yum
>
> Afterwards you can setup everything else.
>
> Hope this helps.
>
> Cheers,
> Björn
You may try CentOS4 as well. This had PHP4 for sure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130612/98b177a7/attachment.sig>
More information about the devel
mailing list