Upgrading Distro CDs

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

 



Hi guys,

I'm working with a colleague on hackin on anaconda to make
some new discs with updated kernels, glibc, and programs on
RedHat 7.2.

It seems that anaconda is changing a few... We have found
some things but not sure it is all the process :

- Make an everything install
- Upgrade everything you can (rpm -Fv is useful)
- Make a directory /new_version
- Make an i386 directory in it
- Make an SRPMS directory in it
- Put all of both CD binaries in /new_version/i386
- Put all of both sources CD in /new_version/SRPMS
- Erase an replace upgraded RPMs
- Add new ones (Omnixxxxx for example)
- cd /usr/lib/anaconda-runtime
- ./buildinstall /new_version/i386
(seems to be some little problems on fonts here ... but not
so hard to stop the process)

- ./genhdlist --withnumbers /new_version/i386
- PYTHONPATH=/usr/lib/anaconda ./pkgorder /new_version/i386
i386 > PKGORDER
- ./splitdistro --fileorder PKGORDER /new_version/ i386

During this process we found a bug in splitdistro (which
seems badly coded), here is a diff :
[root@clf72av anaconda-runtime]# diff -u splitdistro
splitdistro.idm
--- splitdistro Mon Oct 22 22:34:46 2001
+++ splitdistro.idm Wed Nov 14 19:26:38 2001
@@ -143,7 +143,7 @@

 os.system("rm -rf %s %s %s %s" % ( disc1Dir, disc2Dir,
disc1SrcDir,
 disc2SrcDir))
-os.system("mkdir -p %s %s %s/SRPMS %s/RedHat/RPMS" %
+os.system("mkdir -p %s %s/SRPMS %s/SRPMS %s/RedHat/RPMS" %
 (disc1Dir, disc1SrcDir, disc2SrcDir, disc2Dir))

 print "Creating disc1..."
@@ -170,7 +170,7 @@
 disc2pkgs);

 print "Creating first source disc..."
-os.system("cp -al %s/. %s" % (srcDir, disc1SrcDir))
+os.system("cp -al %s/. %s/SRPMS" % (srcDir, disc1SrcDir))
 stamp(disc1SrcDir, "disc3", arch, startedAt)

 print "Creating second source disc..."
[root@clf72av anaconda-runtime]#

I haven't made CDs for now... but I will try soon....

So, now if somebody has some more interesting information
about this process. Or something wrong in this process
should post to the list ?

Thanks to all in advance

Jean-Yves

Jean-Yves LENHOF
100% Windows Free Inside
100% Linux
______________________________________________________
Boîte aux lettres - Caramail - http://www.caramail.com


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux