sax2 in a post-install script
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? <post-scripts config:type="list"> <script> <filename>post_script.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[#!/bin/sh #run sax2 to configure x11 sax2 --auto]]></source> </script> </post-scripts>
chrooted? This is what I'm using: <scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>post-config</filename> <interpreter>shell</interpreter> <location></location> <source><![CDATA[#!/bin/bash sax2 --auto ]]></source> </script> </chroot-scripts> </scripts> 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?
<post-scripts config:type="list"> <script> <filename>post_script.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[#!/bin/sh #run sax2 to configure x11 sax2 --auto]]></source> </script> </post-scripts>
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. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Fax: +49-(0)911-74053-476, Web: http://www.suse.de/~ug now playing Assemblage 23 - Horizon
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.
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.
On Friday 28 July 2006 22:16, 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.
maybe it helps to run "/usr/X11R6/bin/sax2" and not just "sax2"? -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing :Wumpscut: - Ain't It Mad Yet (b mix)
participants (3)
-
Laura Jordana
-
Stephen Mah
-
Uwe Gansert