From: jonghwan2.park Date: Fri, 6 Dec 2013 08:31:27 +0000 (+0900) Subject: DIBS: Added make-image option [-i] for installmanager X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=772e2503ae2e5886470d27d3be299b38122b529a;p=sdk%2Ftools%2Fsdk-build.git DIBS: Added make-image option [-i] for installmanager "image.info" file will be generated automatically. This file is used to decision for update. Change-Id: Iea610e26ea1d75fa2f5173e49c6f7ce4d777359c Signed-off-by: jonghwan2.park --- diff --git a/package/changelog b/package/changelog index ea275d5..109af28 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ +* 2.1.54 +- added make-image option [-i] for installmanager +== jonghwan park 2013-12-06 * 2.1.53 - Fixed bug that transferred job failed when it has no "master" branch == donghee yang 2013-11-19 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 2a86694..e957d94 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,5 +1,5 @@ Source : dibs -Version :2.1.53 +Version :2.1.54 Maintainer : taejun ha, jiil hyoun , donghyuk yang , donghee yang , sungmin kim [-o ]" + raise ArgumentError, "Usage: pkg-cli make-img -u [-o ] [-m ]" end when "install" then if options[:pkg].nil? or options[:pkg].empty? or @@ -148,7 +148,7 @@ def option_parse + "\n" + "Subcommand usage:" + "\n" \ + "\t" + "pkg-cli clean [-l ] [--force]" + "\n" \ + "\t" + "pkg-cli download -P -u [-o ] [-l ] [--trace]" + "\n" \ - + "\t" + "pkg-cli make-img -u [-o ]" + "\n" \ + + "\t" + "pkg-cli make-img -u [-o ] [-i ]" + "\n" \ + "\t" + "pkg-cli install -P -u [-o ] [-l ] [--trace] [--force]" + "\n" \ + "\t" + "pkg-cli install-file -P [-l ] [-u ] [--trace] [--force]" + "\n" \ + "\t" + "pkg-cli uninstall -P [-l ] [--trace]" + "\n" \ @@ -208,6 +208,10 @@ def option_parse options[:f] = true end + opts.on( '-i', '--info ', 'sdk image information : http://download.tizen.org/sdk/packages/official' ) do |image_info| + options[:info] = image_info + end + opts.on( '-h', '--help', 'display help' ) do puts opts exit