Re: Adding packages for Fedora Core 3 kickstart install...

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

 



Excellent! Thank you Phillip....

This worked with one slight modification. pkgorder requires 2 parameters to be fed to it: <path> <arch>

Also it appears there are still some path dependencies that are as yet configurable. You can see my base dir below is /home/websites/fc3. Here are the contents of that dir:

drwxr-xr-x  5 jwigdahl jwigdahl  4096 Nov 22 10:40 Fedora
lrwxrwxrwx  1 root     root         1 Nov 18 10:08 i386 -> .
drwxr-xr-x  3 jwigdahl jwigdahl  4096 Nov 12 13:41 images
lrwxrwxrwx  1 root     root         6 Nov 22 10:45 RedHat -> Fedora

Note the i386 and RedHat symlinks. These appear to be required for my setup.

My final working routine:

BASE=/home/websites/fc3
/usr/lib/anaconda-runtime/genhdlist --productpath Fedora $BASE
PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder $BASE i386 > /tmp/fc3.pkgorder /usr/lib/anaconda-runtime/genhdlist --withnumbers --fileorder /tmp/fc3.pkgorder --productpath Fedora $BASE



On Nov 22, 2004, at 10:23 AM, Philip Rowlands wrote:

On Mon, 22 Nov 2004, James Wigdahl wrote:

* running genhdlist with this command:

/usr/lib/anaconda-runtime/genhdlist --withnumbers --productpath Fedora
$BASE

Package order - try this (changing pathnames where appropriate):

/usr/lib/anaconda-runtime/genhdlist /export/redhat/rhel3
PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder > /tmp/rhel.pkgorder
/usr/lib/anaconda-runtime/genhdlist \
        --withnumbers \
        --fileorder /tmp/pkg.rhel3.order \
        /export/redhat/rhel3

The reason it breaks is that anaconda used to do the package-sort for
you, which takes time ("Preparing RPM transaction" IIRC). This stage was
moved into the genhdlist stage. (By package order I mean that gawk
has to go on before sendmail, because it's used in the %post script.)

hwdata needs basically nothing in advance, so usually ends up first in
the list.


Cheers,
Phil

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[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