[yast-commit] r63868 - in /branches/SuSE-Code-11-SP2-Branch/installation: VERSION package/yast2-installation.changes src/clients/copy_files_finish.ycp
Author: jsuchome Date: Wed Apr 27 12:59:58 2011 New Revision: 63868 URL: http://svn.opensuse.org/viewcvs/yast?rev=63868&view=rev Log: - Copy /media.1/build to the installed system (fate#311377) - 2.17.78 Modified: branches/SuSE-Code-11-SP2-Branch/installation/VERSION branches/SuSE-Code-11-SP2-Branch/installation/package/yast2-installation.changes branches/SuSE-Code-11-SP2-Branch/installation/src/clients/copy_files_finish.ycp Modified: branches/SuSE-Code-11-SP2-Branch/installation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/installation/VERSION?rev=63868&r1=63867&r2=63868&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/installation/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/installation/VERSION Wed Apr 27 12:59:58 2011 @@ -1 +1 @@ -2.17.77 +2.17.78 Modified: branches/SuSE-Code-11-SP2-Branch/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/installation/package/yast2-installation.changes?rev=63868&r1=63867&r2=63868&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/installation/package/yast2-installation.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/installation/package/yast2-installation.changes Wed Apr 27 12:59:58 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Apr 27 11:24:45 CEST 2011 - jsuchome@suse.cz + +- Copy /media.1/build to the installed system (fate#311377) +- 2.17.78 + +------------------------------------------------------------------- Tue Feb 15 13:31:29 CET 2011 - locilka@suse.cz - Correctly disabling Update and Repair options if no previous Modified: branches/SuSE-Code-11-SP2-Branch/installation/src/clients/copy_files_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/installation/src/clients/copy_files_finish.ycp?rev=63868&r1=63867&r2=63868&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/installation/src/clients/copy_files_finish.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/installation/src/clients/copy_files_finish.ycp Wed Apr 27 12:59:58 2011 @@ -20,6 +20,7 @@ import "Linuxrc"; import "Installation"; import "Directory"; +import "Packages"; import "ProductControl"; import "FileUtils"; import "String"; @@ -168,6 +169,22 @@ ) ); + // Copy /media.1/build to the installed system (fate#311377) + integer src_id = Packages::GetBaseSourceID(); + string build_file = Pkg::SourceProvideOptionalFile (src_id, 1, "/media.1/build"); + if (build_file != nil) + { + y2milestone ("Copying /media.1/build file"); + WFM::Execute (.local.bash, + sformat ( + "/bin/cp '%1' '%2%3/' && /bin/chmod 0644 '%2%3/build'", + String::Quote (build_file), + String::Quote (Installation::destdir), + String::Quote (Directory::etcdir) + ) + ); + } + // List of files used as additional workflow definitions CopyAllWorkflowFiles(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org