[Title] Add "all" option for image-generator
authorjonghwan2.park <jonghwan2.park@samsung.com>
Mon, 2 Sep 2013 13:04:45 +0000 (22:04 +0900)
committerjonghwan2.park <jonghwan2.park@samsung.com>
Mon, 2 Sep 2013 13:04:45 +0000 (22:04 +0900)
[Desc]

src/pkg_server/client.rb

index 2f18f62861b6f87b81ea5e110ce80f904c055eae..c985b4c7c6c64f175991a239fdb5e2b973763b4c 100644 (file)
@@ -369,8 +369,17 @@ class Client
        end
 
        public
+       def make_img(os)
+               if (os == "all") then
+                       @support_os_list.each do |os| image_generator(os) end
+               else
+                       image_generator(os)
+               end
+       end
+
+       private
        # make sdk image
-       def make_img(os)
+       def  image_generator(os)
                # get package list
                all_pkg_list = @pkg_hash_os[os].values