Kickstart %post script error.

raman singh raman200319 at yahoo.com
Fri Mar 19 19:56:04 UTC 2004


Forrest,
 
I changed the %post section with
 
%post
cp /mnt/source/app.bin /mnt/sysimage

 
but now I am getting "cannot stat" /mntsource/app.bin : file or directory not found.
 
Please let me know what I am doing wrong.
 
Thanks
 
Raman

wrote:
On Fri, 2004-03-19 at 09:12, raman singh wrote:
> Hi,
> 
> I am trying to install OS and the am application using kickstart. I
> have the following entry in my %post section 
> 
> %post --nochroot
> /mnt/source/App.bin
> perl /mnt/source/update_rclocal
> 
> 
> in both the cases I am getting Error while loading shared libraries,
> although the libraries does exists and the LD_LABRARY_PATH is set
> correctly

What is your LD_LIBRARY_PATH, and where are your shared libraries? In
the --nochroot environment, you are sitting in the installation
environment, which may not have the libraries you are looking for.

Have you tried copying the files over to /mnt/sysimage/ and running them
in the chroot environment?

Forrest


_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20040319/74386238/attachment.htm>


More information about the Kickstart-list mailing list