Author: jdsn Date: Fri Aug 20 18:37:41 2010 New Revision: 62423 URL: http://svn.opensuse.org/viewcvs/yast?rev=62423&view=rev Log: touch flag file to show in webyast that the system is registered Modified: branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes branches/SuSE-Code-11-SP1-Branch/registration/src/modules/Register.ycp Modified: branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes?rev=62423&r1=62422&r2=62423&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes Fri Aug 20 18:37:41 2010 @@ -2,6 +2,7 @@ Fri Aug 20 18:01:17 CEST 2010 - jdsn@suse.de - use correct error code for backend init errors (bnc#633183) +- touch flag file to show in webyast that the system is registered - 2.17.34 ------------------------------------------------------------------- Modified: branches/SuSE-Code-11-SP1-Branch/registration/src/modules/Register.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/registration/src/modules/Register.ycp?rev=62423&r1=62422&r2=62423&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/registration/src/modules/Register.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/registration/src/modules/Register.ycp Fri Aug 20 18:37:41 2010 @@ -1540,6 +1540,8 @@ if ( initialSRstatus == 0 ) { y2milestone("SuseRegister returned with status: %1", initialSRstatus); + // touch webyast flag file to show in webyast that this machine is already registered + SCR::Execute(.target.bash, sformat(" [ -d /var/lib/yastws ] && touch /var/lib/yastws/enable_SLM_webyast_registration_workaround ")); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org