Re: kickstart package installation issue

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

 



Lonni J Friedman wrote:
Greetings,
I've got a bunch of kickstart scripts that I use for network based
installations of FC (and RHEL too).  One thing that I've noticed is
that for x86_64 installations, where RPMs are provided for both x86_64
and i386 (32bit compatibilty), the 32bit versions just about never get
installed.

I know that I can expliclty specify individual RPM/package names in
the %packages section, however I can't find any information on how to
specify arch.

Is there a way of explicitly specifying the i386 version of the RPM
should be installed along with the x86_64 when doing a kickstart based
installation?

thanks!

The syntax is ok for:
package.i386

There have been a few bugs in anaconda versions that forced this method. Packages without specifying the arch were just ignored. The version of anaconda released on the FC4 CDs had this problem.

For best flexibility, you may wish to determine the arch in part of the preinstall phase, and pass it to a program that can dynamically create the ks.cfg file for you -- I like a cgi script executed on a web server for this. Then each of the packages in your list could append the correct arch at run time.

From the Boot image CD Prompt:

linux ks=http://myserver/cgi-bin/my.cgi?ARCH=x86_64

For example.

In the my.cgi program:
#!/usr/bin/perl -w

use CGI;
use Socket;
use strict;

...

my $arch = $q->param('ARCH') || "i386";
...

print "#Package install information
\%packages
@ base
-man.$arch
-man-pages.noarch
-rhnlib.noarch
e2fsprogs.$arch
sharutils.$arch
ntp.$arch
\n";

Hope this helps.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux