Re: Custom remaster of FC3, anaconda errors on install

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

 



Earl wrote:


We were able to create an ISO and boot it w/in VMWare,
however, it dies at the very end of "Preparing RPM
Transaction" with "Install exited abnormally".

Documents above conflict on wheter or not it is
necessary to modify .discinfo and/or
comps.xml (since we have removed/added rpm's).

Any ideas why anaconda may be crashing at this stage?
I have recently attempted this myself. For me, the key was: pkgorder and the correct arguments to genhdlist. In the example below, my modified distro is unpacked at /big/FC3. I created it by copying the contents of the DVD to /big/FC3, adding newer packages to /big/FC3/Fedora/RPMS/. I got rid of the duplicates and added lots of packages like mplayer, the dvd libraries, and such. In order to use the new packages from kickstart, you must edit the comps.xml and comps.rpm files. I haven't gotten that far yet, so I do it from the post section in my ks.cfg file. The rpm program understands URLs, so that makes it easy to add packages from post. Also, the ks= directive understands URLs and thus is able to run a cgi script. We do stuff like:
# linux text ks=http://10.7.23.106/cgi-bin/fc3.cgi?TYPE=desktop
And let the cgi script build an rpm request in the post install section that looks like this:

rpm -ih http://10.7.23.106/ks/FC3/Fedora/RPMS/aalib-1.4.0-5.1.fc3.rf.i386.rpm http://10.7.23.106/ks/FC3/Fedora/RPMS/cdrdao-1.1.9-6.i386.rpm http://10.7.23.106/ks/FC3/Fedora/RPMS/divx4linux-5.0.5-0.1.fc3.rf.i386.rpm http://10.7.23.106/ks/FC3/Fedora/RPMS/faad2-2.0-2.20040923.1.fc3.rf.i386.rpm http://10.7.23.106/ks/FC3/Fedora/RPMS/gtweakui-0.4.0-1.1.fc3.rf.i386.rpm http://10.7.23.106/ks/FC3/Fedora/RPMS/id3lib-3.8.3-4_1.rhfc2.92.at.i386.rpm
... and all one line

Anyways, here is the script I now use to make the modified distro usable by anaconda:

#!/bin/sh
PYTHONPATH=/usr/lib/anaconda
export PYTHONPATH
/usr/lib/anaconda-runtime/pkgorder /big/FC3 i386 Fedora > /tmp/pkglist
/usr/lib/anaconda-runtime/genhdlist --fileorder /tmp/pkglist --withnumbers --productpath Fedora /big/FC3

Works like a champ. You will have to remove any duplicate packages that gendhlist complains about, then try again, cleanup errors, and again until it runs clean.


[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