Re: Installing a very old Fedora (FC6) in a chroot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
> >  -  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.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux