Re: Using perl in %pre

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

 



On Thu, 29 Apr 2004, Joseph Glass wrote:

>What is the easiest way to use '%pre --interpreter /usr/bin/perl' using
>a RedHat 9 boot CD?

%pre gives you the contents of initrd.img and stage2.img. Perl is not
part of either of these, so your best bet is to provide it via an NFS
share, or rewrite the script in Python (not a bad perl-a-like
interpreted language, I've recently discovered.).

Otherwise, make the perl script/app available as a CGI on your install
server, and call out from %pre over the network.


Cheers,
Phil



[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