Carsten Dumke wrote:
This is my non-working <post-scripts> section.
<post-scripts> <script> <filename>userinstall.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/sh echo "AQUI ESTOY" > /tmp/aquivengo ]]> </source> </script> </post-scripts>
DOUBTS:
(he he, not working, why? :-))
Have a look at the generated file. You will notice the empty first line. Placing "#!/bin/sh" on the first line should solve Your problem.
This would have been significant if I would be calling the script as an executable, but thats not how it is called in autoyast. All scripts are called with /bin/sh -x <script name> 2&> <script name>.log So the first line and the magic #! are not really evaluated. Just test all variations, left aligned with CR and with CR and so on, all worked fine. So my guess is that the syntax and location of the script container was wrong. Anas