[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Installing extra RPMs from CD using kickstart
- From: Mark Denni <mark_denni agilent com>
- To: kickstart-list redhat com
- Subject: Re: Installing extra RPMs from CD using kickstart
- Date: Fri, 02 May 2003 14:17:15 -0700
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 redhat com
> 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 cnt com
> CNT
>
>
>
> -----Original Message-----
> From: damien clarke [mailto:damien clarke csn act edu au]
> 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 csn act edu au>
>
>
>
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://listman.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]