Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39974 - in /trunk/add-on-creator: VERSION package/yast2-add-on-creator.changes src/add-on-creator.ycp
  • From: jsuchome@xxxxxxxxxxxxxxxx
  • Date: Mon, 06 Aug 2007 10:29:05 -0000
  • Message-id: <20070806102905.5BE10B58A6@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Mon Aug  6 12:29:04 2007
New Revision: 39974

URL: http://svn.opensuse.org/viewcvs/yast?rev=39974&view=rev
Log:
- command line option for packages resigning (#287447) 
- 2.15.16


Modified:
    trunk/add-on-creator/VERSION
    trunk/add-on-creator/package/yast2-add-on-creator.changes
    trunk/add-on-creator/src/add-on-creator.ycp

Modified: trunk/add-on-creator/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/VERSION?rev=39974&r1=39973&r2=39974&view=diff
==============================================================================
--- trunk/add-on-creator/VERSION (original)
+++ trunk/add-on-creator/VERSION Mon Aug  6 12:29:04 2007
@@ -1 +1 @@
-2.15.15
+2.15.16

Modified: trunk/add-on-creator/package/yast2-add-on-creator.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/package/yast2-add-on-creator.changes?rev=39974&r1=39973&r2=39974&view=diff
==============================================================================
--- trunk/add-on-creator/package/yast2-add-on-creator.changes (original)
+++ trunk/add-on-creator/package/yast2-add-on-creator.changes Mon Aug  6 12:29:04 2007
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Aug  6 10:05:35 CEST 2007 - jsuchome@xxxxxxx
+
+- command line option for packages resigning (#287447) 
+- 2.15.16
+
+-------------------------------------------------------------------
 Fri Aug  3 15:24:36 CEST 2007 - jsuchome@xxxxxxx
 
 - do not require rpms for creating AddOn (#297165)

Modified: trunk/add-on-creator/src/add-on-creator.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/src/add-on-creator.ycp?rev=39974&r1=39973&r2=39974&view=diff
==============================================================================
--- trunk/add-on-creator/src/add-on-creator.ycp (original)
+++ trunk/add-on-creator/src/add-on-creator.ycp Mon Aug  6 12:29:04 2007
@@ -98,6 +98,7 @@
        AddOnCreator::passphrase        =
            // question on command line
            CommandLine::PasswordInput(sformat (_("Passphrase for key %1:"),AddOnCreator::gpg_key));
+    AddOnCreator::resign_packages      = haskey (options, "resign_packages");
 }
 
 /**
@@ -262,6 +263,9 @@
     {
        ParseGPGData (options);
     }
+    if (!FileUtils::Exists (AddOnCreator::base_output_path)) {
+       SCR::Execute (.target.mkdir, AddOnCreator::base_output_path);
+    }
     return true;
 }
 
@@ -427,6 +431,10 @@
            "help"    : _("Path to file with the passphrase for GPG key"),
            "type"    : "string",
        ],
+       "resign_packages"     : $[
+           // command line help text for 'passphrase' option
+           "help"    : _("Resign all packages with selected key"),
+       ],
        "workflow"    : $[
            // command line help text for 'workflow' option
            "help"    : _("Path to workflow definition file (installation.xml)"),
@@ -455,17 +463,22 @@
     ],
     "mappings"               : $[
        "create"      : [ "content", "rpm_dir", "package_descriptions_dir",
-           "patterns_dir", "output_dir", "create_iso", "iso_name", "gpg_key", "passphrase",
-           "passphrase_file", "workflow", "y2update", "y2update_packages_dir", "license",
-           "do_not_sign", "iso_output_dir"
+           "patterns_dir", "output_dir", "create_iso", "iso_name", "gpg_key",
+           "passphrase", "passphrase_file", "workflow", "y2update",
+           "y2update_packages_dir", "license", "do_not_sign", "iso_output_dir",
+           "resign_packages",
        ],
        "clone"               : [ "existing", "generate_descriptions", "content",
-           "package_descriptions_dir", "patterns_dir", "output_dir", "create_iso", "iso_name",
+           "package_descriptions_dir", "patterns_dir", "output_dir",
+           "create_iso", "iso_name",
            "gpg_key", "passphrase", "passphrase_file", "workflow", "y2update",
-           "y2update_packages_dir", "license", "do_not_sign", "iso_output_dir"
+           "y2update_packages_dir", "license", "do_not_sign", "iso_output_dir",
+           "resign_packages",
+       ],
+       "sign"                : [ "addon_dir", "gpg_key", "passphrase",
+           "passphrase_file", "create_iso", "iso_name", "iso_output_dir",
+           "resign_packages"
        ],
-       "sign"                : [ "addon_dir", "gpg_key", "passphrase", "passphrase_file", "create_iso",
-           "iso_name", "iso_output_dir" ]
     ]
 ];
 

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages