Hello community,
here is the log from the commit of package yast2-iscsi-lio-server for openSUSE:Factory checked in at 2014-05-16 18:18:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server (Old)
and /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-iscsi-lio-server"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server/yast2-iscsi-lio-server.changes 2014-05-06 14:04:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new/yast2-iscsi-lio-server.changes 2014-05-16 18:18:34.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 15 09:53:44 CEST 2014 - gs@suse.de
+
+- save configuration on Finish (call lio_dump and tcm_dump)
+- 3.1.7
+
+-------------------------------------------------------------------
Old:
----
yast2-iscsi-lio-server-3.1.6.tar.bz2
New:
----
yast2-iscsi-lio-server-3.1.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-iscsi-lio-server.spec ++++++
--- /var/tmp/diff_new_pack.131c6W/_old 2014-05-16 18:18:35.000000000 +0200
+++ /var/tmp/diff_new_pack.131c6W/_new 2014-05-16 18:18:35.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-iscsi-lio-server
-Version: 3.1.6
+Version: 3.1.7
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-iscsi-lio-server-3.1.6.tar.bz2 -> yast2-iscsi-lio-server-3.1.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-lio-server-3.1.6/package/yast2-iscsi-lio-server.changes new/yast2-iscsi-lio-server-3.1.7/package/yast2-iscsi-lio-server.changes
--- old/yast2-iscsi-lio-server-3.1.6/package/yast2-iscsi-lio-server.changes 2014-05-06 09:40:49.000000000 +0200
+++ new/yast2-iscsi-lio-server-3.1.7/package/yast2-iscsi-lio-server.changes 2014-05-15 12:10:47.000000000 +0200
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu May 15 09:53:44 CEST 2014 - gs@suse.de
+
+- save configuration on Finish (call lio_dump and tcm_dump)
+- 3.1.7
+
+-------------------------------------------------------------------
Tue May 6 09:20:58 CEST 2014 - gs@suse.de
- fixed integer conversion to string (bnc #874963)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-lio-server-3.1.6/package/yast2-iscsi-lio-server.spec new/yast2-iscsi-lio-server-3.1.7/package/yast2-iscsi-lio-server.spec
--- old/yast2-iscsi-lio-server-3.1.6/package/yast2-iscsi-lio-server.spec 2014-05-06 09:40:49.000000000 +0200
+++ new/yast2-iscsi-lio-server-3.1.7/package/yast2-iscsi-lio-server.spec 2014-05-15 12:10:47.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-iscsi-lio-server
-Version: 3.1.6
+Version: 3.1.7
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-lio-server-3.1.6/src/modules/IscsiLioData.rb new/yast2-iscsi-lio-server-3.1.7/src/modules/IscsiLioData.rb
--- old/yast2-iscsi-lio-server-3.1.6/src/modules/IscsiLioData.rb 2014-05-06 09:40:50.000000000 +0200
+++ new/yast2-iscsi-lio-server-3.1.7/src/modules/IscsiLioData.rb 2014-05-15 12:10:47.000000000 +0200
@@ -1403,6 +1403,17 @@
nil
end
+ def SaveSettings
+ dump_cmd = "/usr/sbin/lio_dump --file /etc/target/lio_setup.sh"
+ if !LogExecCmd(dump_cmd)
+ Report.Error(_("Cannot save lio setup"))
+ end
+ setup_cmd = "/usr/sbin/tcm_dump --file /etc/target/tcm_setup.sh"
+ if !LogExecCmd(setup_cmd)
+ Report.Error(_("Cannot save tcm setup"))
+ end
+ end
+
publish :function => :CreateLunName, :type => "string (list <string>, string)"
publish :function => :ParseConfigIetd, :type => "map