Re: Installing extra RPMs from CD using kickstart

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

 



Nitebirdz wrote:
> 
> I have a quick question.  How could I install extra RPMs from the CD using
> commands in the %post section of the kickstart file?  Let me clarify.  I have
> burnt an extra directory on a Red Hat installation CD with some additional
> RPMs that I would like to install using the %post section in the kickstart.
> However, it doesn't seem to be working.  I tried the following so far:
> 
> %post --nochroot
> /bin/echo "Installing Additional RPMs..."
> /usr/bin/rpm -Uvh /mnt/source/addons/RPMS/*
> 
> ... and then...
> 
> %post --nochroot
> /bin/echo "Installing Additional RPMs..."
> /bin/cp /mnt/source/addons/RPMS/* /mnt/sysimage/tmp/
> /usr/bin/rpm -Uvh /mnt/sysimage/tmp/*.rpm
> 
> None of the two approaches worked at all.  Any ideas?  I didn't want to
> bother you guys if I could find the answer on the Web, but I've spent at
> least 4 or 5 hours searching and testing different approaches to no avail.
> 
> Thanks in advance.
> 
> ----------------
> Nitebirdz
> 
> Mozilla--> http://www.mozilla.org/
> Linux XFS--> http://oss.sgi.com/projects/xfs/
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list

Nitebirdz -

Did you check the archives? I just saw the answer to your question a
little while
ago?

Here it is:
> Thanks for this one, it has been killing for a secondary file install I have
> been working on.  I guess it is proof it pays to look at the archives.
> 
> Cheers,
> 
> JJL
> 
> 
> --------------------------------------------------------------------------
> Personal Motto:  If you are going to jump in a grave, do it with both feet
> 
> Email:  jeff_lunde@xxxxxxx
> CNT
>   
> 
> 
> -----Original Message-----
> From: damien clarke [mailto:damien.clarke@xxxxxxxxxxxxxx]
> Sent: Wednesday, April 16, 2003 4:40 AM
> To: kickstart-list
> Subject: Red Hat 9 '%post 'changes and .discinfo file
> 
> 
> If you are using the CDROM during the post installation process, The
> cdrom is unmounted. This is a good thing, but there are times access is
> still required.
> To mount the CD add the following line after the %post statement
> 
> %post --nochroot
> mkdir -p /mnt/source
> mount /tmp/cdrom /mnt/source
>         /\
>  
> <lots of commands>
>  
>         \/
> umount /mnt/source
> 
> and
> make sure the .discinfo is in the root directory of the CDROM or Red Hat
> 9.0 will not be able to find the CDROM.
> 
> After the %post statement
> -- 
> damien clarke <damien.clarke@xxxxxxxxxxxxxx>
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.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