[yast-commit] r67050 - in /trunk/storage: package/yast2-storage.changes storage/src/include/ep-hd-lib.ycp storage/src/include/ep-hd.ycp
Author: aschnell Date: Wed Dec 21 12:56:01 2011 New Revision: 67050 URL: http://svn.opensuse.org/viewcvs/yast?rev=67050&view=rev Log: - handle FBA DASD with parted instead of fdasd (bnc#584703) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/include/ep-hd-lib.ycp trunk/storage/storage/src/include/ep-hd.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=67050&r1=67049&r2=67050&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Wed Dec 21 12:56:01 2011 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Dec 21 12:04:31 CET 2011 - aschnell@suse.de + +- handle FBA DASD with parted instead of fdasd (bnc#584703) + +------------------------------------------------------------------- Tue Dec 20 14:08:55 CET 2011 - fehr@suse.de - fix proposal to reuse also larger root filesystems (bnc#727362) Modified: trunk/storage/storage/src/include/ep-hd-lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd-lib.ycp?rev=67050&r1=67049&r2=67050&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-hd-lib.ycp (original) +++ trunk/storage/storage/src/include/ep-hd-lib.ycp Wed Dec 21 12:56:01 2011 @@ -32,8 +32,12 @@ string default_label = Storage::DefaultDiskLabel(disk_device); list<string> labels = [ default_label ]; - if (!contains(labels, "gpt")) - labels = add(labels, "gpt"); + + if (default_label != "dasd") + { + if (!contains(labels, "gpt")) + labels = add(labels, "gpt"); + } string label = default_label; if (size(labels) > 1) Modified: trunk/storage/storage/src/include/ep-hd.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd.ycp?rev=67050&r1=67049&r2=67050&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-hd.ycp (original) +++ trunk/storage/storage/src/include/ep-hd.ycp Wed Dec 21 12:56:01 2011 @@ -325,13 +325,10 @@ list<term> expert_cmds = []; - if (!String::StartsWith(device, "/dev/dasd")) - { - expert_cmds = add(expert_cmds, - `item(`id(`create_partition_table), - // menu entry text - _("Create New Partition Table"))); - } + expert_cmds = add(expert_cmds, + `item(`id(`create_partition_table), + // menu entry text + _("Create New Partition Table"))); expert_cmds = add(expert_cmds, `item(`id(`clone_disk), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org