From: hataejun Date: Sat, 18 Aug 2012 03:47:59 +0000 (+0900) Subject: [Title] copy os info file to snapshot directory when generate snapshot X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=850c900d552ee645c4f2584bbec9eea6821be354;p=sdk%2Ftools%2Fsdk-build.git [Title] copy os info file to snapshot directory when generate snapshot [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/src/pkg_server/distribution.rb b/src/pkg_server/distribution.rb index 92752ca..55dcadd 100644 --- a/src/pkg_server/distribution.rb +++ b/src/pkg_server/distribution.rb @@ -151,6 +151,10 @@ class Distribution # copy archive package list FileUtils.copy_file( "#{snapshot_path}/#{ARCHIVE_PKG_FILE}", "#{@location}/snapshots/#{name}/#{ARCHIVE_PKG_FILE}" ) + + # copy os info file + FileUtils.copy_file( "#{snapshot_path}/#{OS_INFO_FILE}", + "#{@location}/snapshots/#{name}/#{OS_INFO_FILE}" ) # update snapshot.info file information tmp_file_name = @location + "/temp/." + Utils.create_uniq_name