[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Kickstart-list Digest, Vol 35, Issue 23
- From: Steve Robson <srobson cadence com>
- To: kickstart-list redhat com
- Subject: Re: Kickstart-list Digest, Vol 35, Issue 23
- Date: Mon, 22 Jan 2007 18:06:48 +0000
kickstart-list-request redhat com wrote:
Subject: Mounting NFS during Kickstart as RW
From: gurudatta <gurudatta sonoasystems com>
<snip>
%post
<snip>
#--------------------------------------------------------------------------
# Install additional rpms (not part of the standard distro)
#--------------------------------------------------------------------------
echo "INSTALLING ADDITIONAL BASE OS RPMS..."
/bin/rpm -Uvh \
/mnt/binutils-2.15.92.0.2-5.1.x86_64.rpm
/mnt/libf2c-3.4.4-2.fc3.x86_64.rpm
/mnt/cpp-3.4.4-2.fc3.x86_64.rpm
<snip>
You don't say how it fails; what the error is, but I can see that
syntactically you are missing line-continuation characters. You need a
backslash on the end of each line, like this:
echo "INSTALLING ADDITIONAL BASE OS RPMS..."
/bin/rpm -Uvh \
/mnt/binutils-2.15.92.0.2-5.1.x86_64.rpm \
/mnt/libf2c-3.4.4-2.fc3.x86_64.rpm \
/mnt/cpp-3.4.4-2.fc3.x86_64.rpm \
and so on, on every line EXCEPT THE LAST. What this does is escape (or
mask) the carriage return, so that you have a list of rpms for the rpm
command to process.
What you had before was effectively a command to install one rpm,
followed by "/mnt/libf2c-3.4.4-2.fc3.x86_64.rpm" executed as a command,
which is nonsense.
HTH,
--
Regards,
Steve
IT Support - UNIX/Linux Cadence Design Systems
Tel: +44 (0)1344 866523 Bagshot Road
Mobile: +44 (0)7901 855046 Bracknell BERKSHIRE
Fax: +44 (0)1344 869647 RG12 0PH UK
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]