Kickstart %post script error.

David Tegelaar dtegelaar at egenera.com
Fri Mar 19 19:58:31 UTC 2004


Is it App.bin or app.bin?  Also if you've removed
the --nochroot, then now everthing is running while
chroot'd to /mnt/sysimage.  So everything is being
looked for under /mnt/sysimage. That means you
want to invoke /App.bin--not /mnt/source/App.bin.

-dave

  -----Original Message-----
  From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com]On Behalf Of raman singh
  Sent: Friday, March 19, 2004 2:56 PM
  To: Discussion list about Kickstart
  Subject: Re: Kickstart %post script error.


  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/aa6a9775/attachment.htm>


More information about the Kickstart-list mailing list