Hello community,

here is the log from the commit of package yast2-storage for openSUSE:Factory 
checked in at 2013-04-17 23:19:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage", Maintainer is "aschn...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes      
2013-04-03 23:46:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 
2013-04-17 23:19:22.000000000 +0200
@@ -1,0 +2,23 @@
+Tue Apr 16 16:45:12 CEST 2013 - f...@suse.de
+
+- version 2.24.1
+- add Storage::GetDetectedDiskPaths() to have a fast way to detect 
+  present disks without having to do complete scan of storage 
+  subsystem (bnc#810823)
+
+-------------------------------------------------------------------
+Mon Apr 15 16:00:02 CEST 2013 - aschn...@suse.de
+
+- reserve even more space for buttons (bnc#720839)
+
+-------------------------------------------------------------------
+Thu Apr 11 16:05:51 CEST 2013 - aschn...@suse.de
+
+- added minimal command-line support
+
+-------------------------------------------------------------------
+Tue Apr  9 16:56:49 CEST 2013 - f...@suse.de
+
+- consider xen block device for update (bnc#808996)
+
+-------------------------------------------------------------------

Old:
----
  yast2-storage-2.24.0.tar.bz2

New:
----
  yast2-storage-2.24.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.aXd5Vt/_old  2013-04-17 23:19:23.000000000 +0200
+++ /var/tmp/diff_new_pack.aXd5Vt/_new  2013-04-17 23:19:23.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        2.24.0
+Version:        2.24.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -26,7 +26,7 @@
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
-BuildRequires:  libstorage-devel >= 2.23.1
+BuildRequires:  libstorage-devel >= 2.24.0
 BuildRequires:  libtool
 BuildRequires:  libxslt
 BuildRequires:  perl-XML-Writer
@@ -39,7 +39,7 @@
 BuildRequires:  yast2-devtools
 BuildRequires:  yast2-perl-bindings
 BuildRequires:  yast2-testsuite >= 2.19.0
-Requires:       libstorage4 >= 2.23.8
+Requires:       libstorage4 >= 2.24.0
 Requires:       perl = %{perl_version}
 Requires:       yast2 >= 2.19.4
 Requires:       yast2-core >= 2.18.3

++++++ yast2-storage-2.24.0.tar.bz2 -> yast2-storage-2.24.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/Makefile.am 
new/yast2-storage-2.24.1/Makefile.am
--- old/yast2-storage-2.24.0/Makefile.am        2013-03-26 17:48:43.000000000 
+0100
+++ new/yast2-storage-2.24.1/Makefile.am        2013-04-16 18:16:46.000000000 
+0200
@@ -158,19 +158,14 @@
 
 TAGVERSION      = $(Y2TOOL) tagversion
 
-check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
-       if [ -d $(srcdir)/CVS ]; then \
-         cd $(srcdir) && ! cvs -q -n up 2>/dev/null | grep '^[MCAR] ';\
-       else \
-         cd $(srcdir) && ! LC_ALL=C svn status --show-updates --quiet | grep 
-v '^Status against revision' ;\
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+       if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` 
-gt 0 ]; then \
+         (echo "ERROR: Source is not commited and pushed. See `git status`"; 
false) \
        fi
 
 check-tagversion:
-       @if [ -d $(srcdir)/CVS ]; then \
-         cd $(srcdir) && cvs status -v VERSION | grep -w `$(TAGVERSION) -n` ;\
-       else \
-         cd $(srcdir) && svn cat `$(TAGVERSION) --echourl`/VERSION; \
-       fi >/dev/null; \
+       cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
        [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
 
 check-parse-old:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/Makefile.am.common 
new/yast2-storage-2.24.1/Makefile.am.common
--- old/yast2-storage-2.24.0/Makefile.am.common 2013-03-26 17:48:43.000000000 
+0100
+++ new/yast2-storage-2.24.1/Makefile.am.common 2013-04-16 18:16:46.000000000 
+0200
@@ -31,7 +31,7 @@
 
 CHECK_SYNTAX = true
 check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles)
-       @if test "$(client_DATA)"; then \
+       @if test "$(filter %.ycp,client_DATA)"; then \
          if $(CHECK_SYNTAX); then \
            TO_CHECK="$(filter %.ycp,$^)"; \
            echo "Checking syntax of $${TO_CHECK}"; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/Makefile.in 
new/yast2-storage-2.24.1/Makefile.in
--- old/yast2-storage-2.24.0/Makefile.in        2013-03-26 17:48:55.000000000 
+0100
+++ new/yast2-storage-2.24.1/Makefile.in        2013-04-16 18:16:58.000000000 
+0200
@@ -1069,19 +1069,14 @@
 
 package: check-up-to-date check-tagversion check-textdomain package-local
 
-check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
-       if [ -d $(srcdir)/CVS ]; then \
-         cd $(srcdir) && ! cvs -q -n up 2>/dev/null | grep '^[MCAR] ';\
-       else \
-         cd $(srcdir) && ! LC_ALL=C svn status --show-updates --quiet | grep 
-v '^Status against revision' ;\
+# check if there is no modified files and all commits were pushed
+check-up-to-date:
+       if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` 
-gt 0 ]; then \
+         (echo "ERROR: Source is not commited and pushed. See `git status`"; 
false) \
        fi
 
 check-tagversion:
-       @if [ -d $(srcdir)/CVS ]; then \
-         cd $(srcdir) && cvs status -v VERSION | grep -w `$(TAGVERSION) -n` ;\
-       else \
-         cd $(srcdir) && svn cat `$(TAGVERSION) --echourl`/VERSION; \
-       fi >/dev/null; \
+       cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \
        [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false )
 
 check-parse-old:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/VERSION 
new/yast2-storage-2.24.1/VERSION
--- old/yast2-storage-2.24.0/VERSION    2013-03-14 18:18:30.000000000 +0100
+++ new/yast2-storage-2.24.1/VERSION    2013-04-16 18:16:37.000000000 +0200
@@ -1 +1 @@
-2.24.0
+2.24.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/configure 
new/yast2-storage-2.24.1/configure
--- old/yast2-storage-2.24.0/configure  2013-03-26 17:48:54.000000000 +0100
+++ new/yast2-storage-2.24.1/configure  2013-04-16 18:16:57.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-storage 2.24.0.
+# Generated by GNU Autoconf 2.69 for yast2-storage 2.24.1.
 #
 # Report bugs to <http://bugs.opensuse.org/>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='yast2-storage'
 PACKAGE_TARNAME='yast2-storage'
-PACKAGE_VERSION='2.24.0'
-PACKAGE_STRING='yast2-storage 2.24.0'
+PACKAGE_VERSION='2.24.1'
+PACKAGE_STRING='yast2-storage 2.24.1'
 PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
 PACKAGE_URL=''
 
@@ -1380,7 +1380,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures yast2-storage 2.24.0 to adapt to many kinds of systems.
+\`configure' configures yast2-storage 2.24.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1451,7 +1451,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of yast2-storage 2.24.0:";;
+     short | recursive ) echo "Configuration of yast2-storage 2.24.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1569,7 +1569,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yast2-storage configure 2.24.0
+yast2-storage configure 2.24.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2022,7 +2022,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by yast2-storage $as_me 2.24.0, which was
+It was created by yast2-storage $as_me 2.24.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2961,7 +2961,7 @@
 
 # Define the identity of the package.
  PACKAGE='yast2-storage'
- VERSION='2.24.0'
+ VERSION='2.24.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3084,7 +3084,7 @@
 
 
 
-VERSION="2.24.0"
+VERSION="2.24.1"
 RPMNAME="yast2-storage"
 MAINTAINER="Arvin Schnell <aschn...@suse.de>"
 
@@ -16825,7 +16825,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by yast2-storage $as_me 2.24.0, which was
+This file was extended by yast2-storage $as_me 2.24.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -16891,7 +16891,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-yast2-storage config.status 2.24.0
+yast2-storage config.status 2.24.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/configure.in 
new/yast2-storage-2.24.1/configure.in
--- old/yast2-storage-2.24.0/configure.in       2013-03-26 17:48:42.000000000 
+0100
+++ new/yast2-storage-2.24.1/configure.in       2013-04-16 18:16:46.000000000 
+0200
@@ -1,9 +1,9 @@
 dnl configure.in for yast2-storage
 dnl
-dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.24.0 - DO NOT EDIT! --
 dnl    (edit configure.in.in instead)
 
-AC_INIT(yast2-storage, 2.24.0, http://bugs.opensuse.org/, yast2-storage)
+AC_INIT(yast2-storage, 2.24.1, http://bugs.opensuse.org/, yast2-storage)
 dnl Check for presence of file 'RPMNAME'
 AC_CONFIG_SRCDIR([RPMNAME])
 
@@ -18,7 +18,7 @@
 AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
 
 dnl Important YaST2 variables
-VERSION="2.24.0"
+VERSION="2.24.1"
 RPMNAME="yast2-storage"
 MAINTAINER="Arvin Schnell <aschn...@suse.de>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/data/Makefile.in 
new/yast2-storage-2.24.1/data/Makefile.in
--- old/yast2-storage-2.24.0/data/Makefile.in   2013-03-26 17:48:56.000000000 
+0100
+++ new/yast2-storage-2.24.1/data/Makefile.in   2013-04-16 18:16:59.000000000 
+0200
@@ -556,7 +556,7 @@
 
 dist-hook: check-syntax
 check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles)
-       @if test "$(client_DATA)"; then \
+       @if test "$(filter %.ycp,client_DATA)"; then \
          if $(CHECK_SYNTAX); then \
            TO_CHECK="$(filter %.ycp,$^)"; \
            echo "Checking syntax of $${TO_CHECK}"; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/disk/src/disk.ycp 
new/yast2-storage-2.24.1/disk/src/disk.ycp
--- old/yast2-storage-2.24.0/disk/src/disk.ycp  2013-01-22 12:12:36.000000000 
+0100
+++ new/yast2-storage-2.24.1/disk/src/disk.ycp  2013-04-11 16:11:38.000000000 
+0200
@@ -59,7 +59,7 @@
 
 
     // no params == UI, some params == commandline
-    if (size (WFM::Args()) == 0)
+    if (isempty(WFM::Args()))
     {
        Wizard::CreateDialog();
        Wizard::SetContents(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/disk/src/disk_worker.ycp 
new/yast2-storage-2.24.1/disk/src/disk_worker.ycp
--- old/yast2-storage-2.24.0/disk/src/disk_worker.ycp   2013-01-22 
12:12:36.000000000 +0100
+++ new/yast2-storage-2.24.1/disk/src/disk_worker.ycp   2013-04-11 
16:11:38.000000000 +0200
@@ -31,6 +31,8 @@
  *
  * Authors:
  *   Michael Hager <m...@suse.de>
+ *   Michal Svec <ms...@suse.com>
+ *   Arvin Schnell <aschn...@suse.de>
  *
  * Wrapper file for inst_disk.ycp
  */
@@ -39,6 +41,7 @@
 
     import "CommandLine";
     import "Storage";
+    import "StorageFields";
 
 
     any DiskSequence()
@@ -57,16 +60,87 @@
     }
 
 
-    /* -- the command line description map 
-------------------------------------- */
-    map cmdline = $[
-       "id"            : "disk",
-       // translators: command line help text for disk module
-       "help"          : _("Disk partitioner"),
-       // custum help text (should replace default one)
-       "customhelp"    : _("Command line interface for the partitioner module 
is not available."),
-       "guihandler"    : DiskSequence,
-    ];
+    boolean Dummy() { return true; }
+
+
+    boolean StorageCmdline(map<string, string> options)
+    {
+       boolean disks = true;
+       boolean partitions = true;
+
+       if (!isempty(options))
+       {
+           disks = haskey(options, "disks");
+           partitions = haskey(options, "partitions");
+       }
+
+       list<symbol> fields = [ `device, `size, `fs_type, `mount_point, `label, 
`model ];
+
+       symbol Predicate(map disk, map partition)
+       {
+           list<symbol> returns = [ `tmpfs, `nfs, `nfs4, `unknown ];
+
+           if (partition == nil)
+           {
+               if (disks)
+                   return `showandfollow;
+               else
+                   return `follow;
+           }
+           else
+           {
+               if (partitions)
+               {
+                   if (contains(returns, partition["used_fs"]:`unknown))
+                       return `ignore;
+                   else
+                       return `show;
+               }
+               else
+                   return `ignore;
+           }
+       }
+
+       map<string, map> target_map = Storage::GetTargetMap();
 
+       term header = StorageFields::TableHeader(fields);
+       list<term> content = StorageFields::TableContents(fields, target_map, 
Predicate);
+
+       CommandLine::PrintTable(header, content);
+
+       return true;
+    }
+
+
+    map cmdline = $[
+       // Commandline help title
+       "help" : _("Storage Configuration"),
+       "id" : "disk",
+       "guihandler" : DiskSequence,
+       "initialize" : Dummy,
+       "finish" : Dummy,
+       "actions" : $[
+           "list" : $[
+               // Commandline command help
+               "help" : _("List disks and partitions"),
+               "example" : "storage list partitions",
+               "handler" : StorageCmdline,
+               ]
+           ],
+       "options" : $[
+           "disks" : $[
+               // Command line option help text
+               "help" : _("List disks"),
+               ],
+           "partitions" : $[
+               // Command line option help text
+               "help" : _("List partitions"),
+               ],
+           ],
+       "mappings" : $[
+           "list" : [ "disks", "partitions" ]
+           ]
+       ];
 
     CommandLine::Run(cmdline);
     return true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/storage/src/Makefile.in 
new/yast2-storage-2.24.1/storage/src/Makefile.in
--- old/yast2-storage-2.24.0/storage/src/Makefile.in    2013-03-26 
17:48:56.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/Makefile.in    2013-04-16 
18:16:59.000000000 +0200
@@ -787,7 +787,7 @@
 
 dist-hook: check-syntax
 check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles)
-       @if test "$(client_DATA)"; then \
+       @if test "$(filter %.ycp,client_DATA)"; then \
          if $(CHECK_SYNTAX); then \
            TO_CHECK="$(filter %.ycp,$^)"; \
            echo "Checking syntax of $${TO_CHECK}"; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/storage/src/include/ep-all.ycp 
new/yast2-storage-2.24.1/storage/src/include/ep-all.ycp
--- old/yast2-storage-2.24.0/storage/src/include/ep-all.ycp     2013-03-04 
14:51:34.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/include/ep-all.ycp     2013-04-15 
16:26:36.000000000 +0200
@@ -59,10 +59,10 @@
        term table_header = StorageFields::TableHeader(fields);
        list<term> table_contents = StorageFields::TableContents(fields, 
target_map, StorageFields::PredicateAll);
 
-       term buttons = `HBox(
+       list<term> buttons = [
            // push button text
            `PushButton(`id(`rescan), `opt(`key_F6), _("Rescan Devices"))
-       );
+       ];
 
        if (Mode::installation()) {
            // push button text
@@ -116,7 +116,7 @@
                                  `IconAndHeading(sformat(_("Available Storage 
on %1"), short_hostname), StorageIcons::all_icon),
                                  `Table(`id(`table), `opt(`keepSorting, 
`notify, `notifyContextMenu),
                                         table_header, table_contents),
-                                 buttons
+                                 ArrangeButtons(buttons)
                                  ))
            );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/storage/src/include/ep-lib.ycp 
new/yast2-storage-2.24.1/storage/src/include/ep-lib.ycp
--- old/yast2-storage-2.24.0/storage/src/include/ep-lib.ycp     2013-02-15 
10:33:44.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/include/ep-lib.ycp     2013-04-15 
16:26:36.000000000 +0200
@@ -430,10 +430,11 @@
     term ArrangeButtons(list<term> buttons)
     {
        // Unfortunately the UI does not provide functionality to rearrange
-       // buttons in two lines if the available space is limited.  This
-       // implementation in YCP has several drawbacks, e.g. it does not know
-       // anything about the font size or the actually available space nor is
-       // it run when the dialog is resized.
+       // buttons in two or more lines if the available space is
+       // limited. This implementation in YCP has several drawbacks, e.g. it
+       // does not know anything about the font size, the font metric, the
+       // button frame size, the actually available space nor is it run when
+       // the dialog is resized. Also see fate #314971.
 
        map display_info = UI::GetDisplayInfo();
        boolean textmode = display_info["TextMode"]:false;
@@ -442,7 +443,7 @@
        integer max_buttons = 6;
 
        if ((textmode && width <= 140) || (!textmode && Mode::installation() && 
width <= 1280))
-           max_buttons = 3;
+           max_buttons = 2;
 
        term ret = `VBox();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/storage/src/modules/Makefile.in 
new/yast2-storage-2.24.1/storage/src/modules/Makefile.in
--- old/yast2-storage-2.24.0/storage/src/modules/Makefile.in    2013-03-26 
17:48:56.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/modules/Makefile.in    2013-04-16 
18:16:59.000000000 +0200
@@ -579,7 +579,7 @@
 
 dist-hook: check-syntax
 check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles)
-       @if test "$(client_DATA)"; then \
+       @if test "$(filter %.ycp,client_DATA)"; then \
          if $(CHECK_SYNTAX); then \
            TO_CHECK="$(filter %.ycp,$^)"; \
            echo "Checking syntax of $${TO_CHECK}"; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.24.0/storage/src/modules/Storage.ycp 
new/yast2-storage-2.24.1/storage/src/modules/Storage.ycp
--- old/yast2-storage-2.24.0/storage/src/modules/Storage.ycp    2013-03-20 
12:16:36.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/modules/Storage.ycp    2013-04-16 
18:16:37.000000000 +0200
@@ -5033,6 +5033,9 @@
     foreach ( string dev, map disk, GetTargetMap(), ``{
         if( !ret )
            {
+           y2milestone( "HaveLinuxPartitions %1 typ:%2 pbl:%3 ro:%4 driver:%5",
+                        dev, disk["type"]:`CT_UNKNOWN, IsPartitionable( disk ),
+                        disk["readonly"]:false, disk["driver"]:"" );
            if( IsPartitionable( disk ) )
                {
                foreach( map e, disk["partitions"]:[], ``{
@@ -5040,6 +5043,11 @@
                          Partitions::IsLinuxPartition( 
e["fsid"]:Partitions::fsid_native );
                    });
                }
+           else if( disk["type"]:`CT_UNKNOWN==`CT_DISK && 
disk["readonly"]:false &&
+                    disk["driver"]:""=="vbd" )
+               {
+               ret = true;
+               }
            }
        });
     y2milestone( "HaveLinuxPartitions ret=%1", ret );
@@ -6355,4 +6363,11 @@
     return( ret );
     }
 
+global list<string> GetDetectedDiskPaths()
+    {
+    list<string> disks = LibStorage::getPresentDisks();
+    y2milestone( "disks:%1", disks );
+    return( disks );
+    }
+
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-2.24.0/storage/src/modules/StorageFields.ycp 
new/yast2-storage-2.24.1/storage/src/modules/StorageFields.ycp
--- old/yast2-storage-2.24.0/storage/src/modules/StorageFields.ycp      
2013-01-22 12:12:36.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/modules/StorageFields.ycp      
2013-04-11 16:11:38.000000000 +0200
@@ -237,6 +237,16 @@
                    header = add(header, _("Parity Algorithm"));
                    break;
 
+               case `vendor:
+                   // Column header
+                   header = add(header, _("Vendor"));
+                   break;
+
+               case `model:
+                   // Column header
+                   header = add(header, _("Model"));
+                   break;
+
                default:
                    y2error("unknown field %1", field);
                    header = add(header, "error");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-2.24.0/storage/src/proposal/Makefile.in 
new/yast2-storage-2.24.1/storage/src/proposal/Makefile.in
--- old/yast2-storage-2.24.0/storage/src/proposal/Makefile.in   2013-03-26 
17:48:56.000000000 +0100
+++ new/yast2-storage-2.24.1/storage/src/proposal/Makefile.in   2013-04-16 
18:16:59.000000000 +0200
@@ -556,7 +556,7 @@
 
 dist-hook: check-syntax
 check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles)
-       @if test "$(client_DATA)"; then \
+       @if test "$(filter %.ycp,client_DATA)"; then \
          if $(CHECK_SYNTAX); then \
            TO_CHECK="$(filter %.ycp,$^)"; \
            echo "Checking syntax of $${TO_CHECK}"; \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to