[opensuse-autoinstall] opensuse 11.4 and Post-Packages
Hello,
yes, I know, it is a known bug. But I have to install some packages as
postpackes.
I searched and found a solution, but I think I do anythuing wrong at it.
I tried to fix it like described here:
https://bugzilla.novell.com/show_bug.cgi?id=679435#c45
So, my xml looks as follows....
---------------------
[...]
<service>
Yes, you do have a syntax error. You need to add the surrounding "scripts" section, try: <scripts> <chroot-scripts config:type="list"> ....... </chroot-scripts> </scripts> See http://www.suse.de/~ug/autoyast_doc/createprofile.scripts.html for reference! On 11/25/2011 09:35 AM, Daniel Spannbauer wrote:
Hello,
yes, I know, it is a known bug. But I have to install some packages as postpackes.
I searched and found a solution, but I think I do anythuing wrong at it.
I tried to fix it like described here: https://bugzilla.novell.com/show_bug.cgi?id=679435#c45
So, my xml looks as follows....
--------------------- [...]
<service>
smbfs disable </service> <service>splash disable </service> </services> </runlevel> <x11>16 kdm false <monitor>1280X1024@60HZ --> VESA </monitor> <resolution>1280x1024 (SXGA)</resolution>kde </x11> <chroot-scripts config:type="list"> <script> <!-- Fix post-packages bug --> <chrooted config:type="boolean">true</chrooted> <filename>fix_postinstall_bug.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[#!/bin/bash ( while [ ! -f /var/lib/YaST2/installation_disabled_steps ]; do sleep 1 done cp /var/lib/YaST2/installation_disabled_steps /var/lib/YaST2 /installation_disabled_steps.bkp cat /var/lib/YaST2/installation_disabled_steps.bkp | grep -v "rpmcopy_secondstage"> /var/lib/YaST2/installation_disabled_steps)&]]> </source> </script> </chroot-scripts></profile> ----------------------------
But this didn't work. So, I think I have an error at the syntax. Or do I have to put the chroot-scripts elsewhere in the xml?
Regards
Daniel
-- Dipl.-Ing. Joschi Brauchle, M.Sc. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauchle@tum.de Web: http://www.lnt.ei.tum.de/
participants (2)
-
Daniel Spannbauer
-
Joschi Brauchle