Mailinglist Archive: yast-commit (595 mails)

< Previous Next >
[yast-commit] r54301 - /trunk/storage/storage/src/include/custom_part_check_generated.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Fri, 19 Dec 2008 14:53:38 -0000
  • Message-id: <E1LDgjS-0003yy-H8@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Fri Dec 19 15:53:38 2008
New Revision: 54301

URL: http://svn.opensuse.org/viewcvs/yast?rev=54301&view=rev
Log:
- use Region::End()

Modified:
trunk/storage/storage/src/include/custom_part_check_generated.ycp

Modified: trunk/storage/storage/src/include/custom_part_check_generated.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_check_generated.ycp?rev=54301&r1=54300&r2=54301&view=diff
==============================================================================
--- trunk/storage/storage/src/include/custom_part_check_generated.ycp (original)
+++ trunk/storage/storage/src/include/custom_part_check_generated.ycp Fri Dec
19 15:53:38 2008
@@ -29,6 +29,7 @@
import "AutoinstData";
import "FileSystems";
import "Stage";
+ import "Region";

include "partitioning/custom_part_helptexts.ycp";

@@ -100,7 +101,7 @@
}
root_found = true;
dmraid_root = diskinfo["type"]:`CT_UNKNOWN == `CT_DMRAID;
- root_end = part["region",0]:0 + part["region",1]:1-1;
+ root_end = Region::End(part["region"]:[]);
if( !contains( [ `primary, `logical ], part["type"]:`unknown ))
{
// root_end does not have anything to do with physical
cylinders
@@ -125,7 +126,7 @@
boot_found = true;
if( diskinfo["type"]:`CT_UNKNOWN==`CT_DISK )
{
- boot_end = part["region",0]:0 + part["region",1]:1-1;
+ boot_end = Region::End(part["region"]:[]);
}
else
{
@@ -143,14 +144,14 @@
(fsid == Partitions::fsid_prep_chrp_boot || fsid==6) )
{
boot_found = true;
- boot_end = part["region",0]:0 + part["region",1]:1-1;
+ boot_end = Region::End(part["region"]:[]);
boot_fs = part["used_fs"]:`unknown;
boot_size_k = part["size_k"]:0;
}
else if( Arch::board_mac() && part["used_fs"]:`unknown==`hfs )
{
boot_found = true;
- boot_end = part["region",0]:0 + part["region",1]:1-1;
+ boot_end = Region::End(part["region"]:[]);
boot_fs = part["used_fs"]:`unknown;
boot_size_k = part["size_k"]:0;
}

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

< Previous Next >
This Thread
  • No further messages