Change-Id: I091530de581c5014b45de6cf199872189e6929e9
Signed-off-by: jonghwan2.park <jonghwan2.park@samsung.com>
# download packages
img_pkg_list.each do |pkg| download(pkg, os, false, "#{workspace}/binary") end
+ # update pkg list
+ list_path = get_pkglist_path()
+ read_remote_pkg_list(list_path)
+
# write pkg_list_os file
- FileUtils.cp("#{get_pkglist_path}/pkg_list_#{os}", "#{workspace}")
+ f = File.new("#{workspace}/pkg_list_#{os}", "w");
+ img_pkg_list.each do |pkg|
+ f.write( @pkg_hash_os[os][pkg] );
+ f.write("\n\n");
+ end
+ f.close
# write os_info file
File.open("#{workspace}/#{OS_INFO_FILE}", 'w') do |f| f.puts os end