Hello community,

here is the log from the commit of package yast2-packager for openSUSE:Factory 
checked in at 2014-03-21 12:14:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-packager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2014-03-11 09:24:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes       
2014-03-21 12:14:34.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Mar 19 16:26:51 UTC 2014 - [email protected]
+
+- copy libzypp credentials to the target system before starting
+  package installation (bnc#869089)
+- 3.1.8
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-3.1.7.tar.bz2

New:
----
  yast2-packager-3.1.8.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.AqfCY9/_old  2014-03-21 12:14:35.000000000 +0100
+++ /var/tmp/diff_new_pack.AqfCY9/_new  2014-03-21 12:14:35.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.7
+Version:        3.1.8
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-packager-3.1.7.tar.bz2 -> yast2-packager-3.1.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.7/package/yast2-packager.changes 
new/yast2-packager-3.1.8/package/yast2-packager.changes
--- old/yast2-packager-3.1.7/package/yast2-packager.changes     2014-03-06 
14:30:10.000000000 +0100
+++ new/yast2-packager-3.1.8/package/yast2-packager.changes     2014-03-19 
18:08:37.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed Mar 19 16:26:51 UTC 2014 - [email protected]
+
+- copy libzypp credentials to the target system before starting
+  package installation (bnc#869089)
+- 3.1.8
+
+-------------------------------------------------------------------
 Thu Mar  6 13:47:12 CET 2014 - [email protected]
 
 - Changed DefaultDesktop not to select any required packages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.7/package/yast2-packager.spec 
new/yast2-packager-3.1.8/package/yast2-packager.spec
--- old/yast2-packager-3.1.7/package/yast2-packager.spec        2014-03-06 
14:30:10.000000000 +0100
+++ new/yast2-packager-3.1.8/package/yast2-packager.spec        2014-03-19 
18:08:37.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.7
+Version:        3.1.8
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.7/src/clients/inst_kickoff.rb 
new/yast2-packager-3.1.8/src/clients/inst_kickoff.rb
--- old/yast2-packager-3.1.7/src/clients/inst_kickoff.rb        2014-03-06 
14:30:10.000000000 +0100
+++ new/yast2-packager-3.1.8/src/clients/inst_kickoff.rb        2014-03-19 
18:08:37.000000000 +0100
@@ -8,6 +8,9 @@
 #
 # $Id$
 #
+
+require "fileutils"
+
 module Yast
   class InstKickoffClient < Client
     def main
@@ -64,6 +67,17 @@
       Builtins.y2milestone("Prefer CD/DVD media to download")
       Pkg.SetZConfig({ "download_media_prefer_download" => false })
 
+      # copy the credential files, libzypp loads them from target
+      zypp_dir = "/etc/zypp"
+      credentials_d = zypp_dir + "/credentials.d"
+
+      if File.exist?(credentials_d) && Installation.destdir != "/"
+        target_zypp = Installation.destdir + zypp_dir
+        Builtins.y2milestone("Copying libzypp credentials to 
#{target_zypp}...")
+        ::FileUtils.mkdir_p(target_zypp)
+        ::FileUtils.cp_r(credentials_d, target_zypp)
+      end
+
       # installation, for instance...
       if !Mode.update
         # make some directories

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to