Skip to content

Commit

Permalink
Merge pull request #306 from yast/enospace-separate-home-sp4
Browse files Browse the repository at this point in the history
Fix "Not enough space available to propose separate /home." (SP4)
  • Loading branch information
mvidner committed Jun 3, 2019
2 parents 079b7ce + cfb7c0c commit b770990
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions package/yast2-storage.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 1 13:20:46 UTC 2019 - mvidner@suse.com

- Fix "Not enough space available to propose separate /home."
(bsc#1113714)
- 3.2.20.1

-------------------------------------------------------------------
Fri Sep 28 11:15:37 UTC 2018 - snwint@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-storage.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-storage
Version: 3.2.20
Version: 3.2.20.1
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
7 changes: 4 additions & 3 deletions src/clients/inst_target_part.rb
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,12 @@ def main
Builtins.y2milestone("proposed partitions:%1", @pl)
if StorageProposal.GetProposalHome &&
Builtins.size(Builtins.filter(@pl) do |p|
Ops.get_string(p, "mount", "") == "/home"
Ops.get_string(p, "mount", "") == StorageProposal.GetHomePath()
end) == 0
@ok = false
reason = _(
"Not enough space available to propose separate /home."
reason = Builtins.sformat(
_("Not enough space available to propose separate %1."),
StorageProposal.GetHomePath()
)
Popup.Error(reason)
end
Expand Down

0 comments on commit b770990

Please sign in to comment.