Re: New anaconda packages

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

 



On Thu, 31 Jan 2002, Taylor, ForrestX wrote:
> I saw the anaconda update notice a few days ago, but it only mentioned the
> boot disks.  Does anyone know where to get the anaconda source rpm that is
> fixed?

I have updated the stuff myself. Here is the recipe I've used.
Your path names may be different but you will get the idea.

-- Alf.

How to update RH 7.2 anaconda from updatedisk:
----------------------------------------------
0. mkdir -p /mnt/linux /mnt/linux1 /mnt/linux2 /tmp/LINUX1 /tmp/LINUX2

1. cp RedHat7.2/updates/en/os/images/i386/update-disk-20020117.img /tmp/.
2. mount /tmp/update-disk-20020117.img /mnt/linux -o loop

3. cp RedHat7.2/i386/images/netstg1.img /tmp/.
4. mount /tmp/netstg1.img /mnt/linux1 -o loop
5. cp -a /mnt/linux1/* /tmp/LINUX1/.

6. cp RedHat7.2/i386/RedHat/base/stage2.img /tmp/.
7. mount /tmp/stage2.img /mnt/linux2 -o loop
8. cp -a /mnt/linux2/* /tmp/LINUX2/.

9. cd /usr/lib/anaconda
10. copy over all new .py files from /mnt/linux/ to . or the appropriate
    subdirectories thereof
11. python /usr/lib/python1.5/compileall.py .
12. copy all new .py and .pyc files back to /tmp/LINUX{1,2}/usr/lib/anaconda/
    or the appropriate subdirectories thereof
    Warning: Do NOT copy the "anaconda" executable!!

13. mkcramfs --verbose /tmp/LINUX1/ /tmp/netstg1.img.NEW
14. mkcramfs --verbose /tmp/LINUX2/ /tmp/stage2.img.NEW

15. cd RedHat7.2/i386/RedHat/base
16. mv netstg1.img netstg1.img@`date "+%Y%m%d"`
17. mv /tmp/netstg1.img.NEW netstg1.img
18. mv stage2.img stage2.img@`date "+%Y%m%d"`
19. mv /tmp/stage2.img.NEW stage2.img   (takes a long time!)

20. umount /mnt/linux ; umount /mnt/linux1 ; umount /mnt/linux2
21. rm -rf /tmp/LINUX*


-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@xxxxxxxxxxxxxxxxx
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux