[opensuse-autoinstall] many trans replayed after Installation
Hallo, after autoinstallation of SuSE 12.1 ( and also 11.3) has sucessfully ended, i start an init-Script for only 1 execution in runlevel 5 , which call is deleted after execution. This script installs a lot of repos and hundreds of packages via Zypper and does a "shutdown" at the end . But on booting - even if i did a " sync "at the end of my script - the root-FS is ckecked because not clean showing hundreds of messages 'trans replayed " How can i avoid this ?? Thanks for all replies Marianne Frerichs i ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
You might consider to use a AUTOYAST init script. It is running once after the installation ends. Maybe your script is already interfereing with an ayast initscript thus the ayast initscript is doing something and your scripts reboots.... Example of an init script: ... <init-scripts config:type="list"> <script> <debug config:type="boolean">true</debug> <notification>Please wait while tce_cfg_init is running...</notification> <filename>tce_cfg_init</filename> <interpreter>shell</interpreter> <location></location> <source><![CDATA[#!/bin/sh echo "INFO: Running $(basename $0 )" # Set runlevel to 5 echo "INFO: Setting default runlevel to 5" perl -p -i -e "s/^id:3:/id:5:/" /etc/inittab # Update System /cluster/bin/updates SL121 | tee -a /dev/console echo "INFO: Creating /etc/init.d/after.local ." cat <<EOF >>/etc/init.d/after.local # Start postfix since insserv is not able to add the service. rcpostfix restart # Reboot is done by autoyast zzz... script #perl -p -i -e "s/^reboot/#reboot/" /etc/init.d/after.local # reboot during initial installation and #reboot EOF ]]></source> </script> </init-scripts> ... Hth Hajo -----Original Message----- From: m.frerichs [mailto:m.frerichs@fz-juelich.de] Sent: Thursday, March 29, 2012 12:42 PM To: opensuse-autoinstall@opensuse.org Subject: [opensuse-autoinstall] many trans replayed after Installation Hallo, after autoinstallation of SuSE 12.1 ( and also 11.3) has sucessfully ended, i start an init-Script for only 1 execution in runlevel 5 , which call is deleted after execution. This script installs a lot of repos and hundreds of packages via Zypper and does a "shutdown" at the end . But on booting - even if i did a " sync "at the end of my script - the root-FS is ckecked because not clean showing hundreds of messages 'trans replayed " How can i avoid this ?? Thanks for all replies Marianne Frerichs i ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (2)
-
Hans-Joachim Ehlers
-
m.frerichs