Re: [suse-autoinstall] sax2 in a post-install script
Thank you Lee and Uwe, using the full path worked like a charm! Lee Mayes wrote:
Hi Laura,
I use the following snippet in the scripts stanza, it seems to work:
<chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>sax-config</filename> <interpreter>shell</interpreter> <location></location> <source><![CDATA[#!/bin/bash test -x /usr/sbin/sax2 || exit 0 /usr/sbin/sax2 --auto ]]></source> </script> </chroot-scripts>
Best Regards,
Lee On Fri, 2006-07-28 at 13:16 -0700, Laura Jordana wrote:
This is happening even when I put it in the post-script. I don't get it, because once the system boots I can run sax2 just fine. I must be missing something.
Laura Jordana wrote:
I found the culprit - /var/adm/autoinstall/logs tells me sax2 is not being found. Should it be in a post-install script in this case? I'll try that again and then see what the logs say.
Uwe Gansert wrote:
On Monday 03 July 2006 19:38, Laura Jordana wrote:
Is there something wrong? I put this directly under an existing chroot script. After the </chroot-scripts> tag of course. It's all in between the <configure> tags so I can't figure out why it doesn't seem to be running. I tried commenting out the <X11> section as well, and that didn't seem to do anything either. Any suggestions? take a look at /var/adm/autoinstall/logs there you can find some logs about the scripts running Maybe there is something useful in them.
participants (1)
-
Laura Jordana