[yast-commit] r55564 - in /trunk/installation: VERSION package/yast2-installation.changes src/inst_finish/copy_files_finish.ycp
![](https://seccdn.libravatar.org/avatar/2e1a2d7374f0eeb790839676bdd1123a.jpg?s=120&d=mm&r=g)
Author: locilka Date: Tue Feb 17 17:06:41 2009 New Revision: 55564 URL: http://svn.opensuse.org/viewcvs/yast?rev=55564&view=rev Log: - Writing additional-control-files index file after removing and recreating the directory where it is stored (bnc #475516). - 2.18.6 Modified: trunk/installation/VERSION trunk/installation/package/yast2-installation.changes trunk/installation/src/inst_finish/copy_files_finish.ycp Modified: trunk/installation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/VERSION?rev=55564&r1=55563&r2=55564&view=diff ============================================================================== --- trunk/installation/VERSION (original) +++ trunk/installation/VERSION Tue Feb 17 17:06:41 2009 @@ -1 +1 @@ -2.18.5 +2.18.6 Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=55564&r1=55563&r2=55564&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Tue Feb 17 17:06:41 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Feb 17 16:56:09 CET 2009 - locilka@suse.cz + +- Writing additional-control-files index file after removing and + recreating the directory where it is stored (bnc #475516). +- 2.18.6 + +------------------------------------------------------------------- Mon Feb 9 13:21:50 CET 2009 - locilka@suse.cz - Enabling online update in (SLED) Automatic Configuration Modified: trunk/installation/src/inst_finish/copy_files_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/inst_finish/copy_files_finish.ycp?rev=55564&r1=55563&r2=55564&view=diff ============================================================================== --- trunk/installation/src/inst_finish/copy_files_finish.ycp (original) +++ trunk/installation/src/inst_finish/copy_files_finish.ycp Tue Feb 17 17:06:41 2009 @@ -61,15 +61,18 @@ workflows_list = add (workflows_list, one_filename); }); - // They need to follow the exact order - SCR::Write (.target.ycp, Installation::destdir + Directory::etcdir + "/control_files/order.ycp", - workflows_list); - // Remove the directory with all additional control files (if exists) // and create it again (empty). BNC #471454 SCR::Execute (.target.bash, sformat ("rm -rf '%1'; /bin/mkdir -p '%1'", String::Quote (Installation::destdir + Directory::etcdir + "/control_files"))); + // BNC #475516: Writing the control-files-order index 'after' removing the directory + // Control files need to follow the exact order, only those liseted here are used + SCR::Write (.target.ycp, Installation::destdir + Directory::etcdir + "/control_files/order.ycp", + workflows_list); + SCR::Execute (.target.bash, "/bin/chmod 0644 " + + "'" + String::Quote (Installation::destdir) + Directory::etcdir + "/control_files/order.ycp'"); + // Now copy all the additional control files to the just installed system foreach (string file, WorkflowManager::GetAllUsedControlFiles(), { SCR::Execute (.target.bash, "/bin/cp '" + String::Quote (file) + "' " + @@ -77,9 +80,6 @@ SCR::Execute (.target.bash, "/bin/chmod 0644 " + "'" + String::Quote (Installation::destdir) + Directory::etcdir + "/control_files/" + String::Quote (file) + "'"); }); - - SCR::Execute (.target.bash, "/bin/chmod 0644 " + - "'" + String::Quote (Installation::destdir) + Directory::etcdir + "/control_files/order.ycp'"); } // see bugzilla #328126 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org