Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65304 - in /trunk/storage: package/yast2-storage.changes storage/src/inst_target_part.ycp
Author: fehr
Date: Wed Aug 10 16:48:26 2011
New Revision: 65304

URL: http://svn.opensuse.org/viewcvs/yast?rev=65304&view=rev
Log:
show popup if proposal of separate /home is not possible

Modified:
trunk/storage/package/yast2-storage.changes
trunk/storage/storage/src/inst_target_part.ycp

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=65304&r1=65303&r2=65304&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Wed Aug 10 16:48:26 2011
@@ -3,6 +3,7 @@

- allow label on btrfs when format is true
- do not allow to partition disks used by LVM in disk selection
+- show popup if proposal of separate /home is not possible

-------------------------------------------------------------------
Tue Aug 9 16:29:08 CEST 2011 - fehr@xxxxxxx

Modified: trunk/storage/storage/src/inst_target_part.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/inst_target_part.ycp?rev=65304&r1=65303&r2=65304&view=diff
==============================================================================
--- trunk/storage/storage/src/inst_target_part.ycp (original)
+++ trunk/storage/storage/src/inst_target_part.ycp Wed Aug 10 16:48:26 2011
@@ -409,6 +409,15 @@
remove or select a larger disk.");
display_error_box (reason);
}
+ list<map> pl =
Storage::GetTargetMap()[target_is,"partitions"]:[];
+ y2milestone( "proposed partitions:%1", pl );
+ if( StorageProposal::GetProposalHome() &&
+ size(filter( map p, pl, ``(p["mount"]:""=="/home")))==0 )
+ {
+ ok = false;
+ string reason = _("Not enough space available to propose
separate /home.");
+ Popup::Error( reason );
+ }
}
}
} // while (true)

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

< Previous Next >
This Thread
  • No further messages