Skip to content

Commit

Permalink
Merge pull request #140 from yast/ignore_mounted_media
Browse files Browse the repository at this point in the history
Do not check the free space on a CD/DVD mounted medium (bsc#952112)
  • Loading branch information
lslezak committed Nov 11, 2015
2 parents 75e7cbe + b661473 commit da69606
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/yast2-packager.changes
Expand Up @@ -3,6 +3,9 @@ Tue Oct 6 11:36:25 UTC 2015 - ancor@suse.com

- Repository editor can now manage urls with repo variables like
$arch, $releasever, etc. (bsc#944505)
- Do not check the free space on a CD/DVD mounted medium during
online migration (the mount point has been changed from /media to
/run/media) (bsc#952112)
- 3.1.52.1

-------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/modules/SpaceCalculation.rb
Expand Up @@ -142,6 +142,7 @@ def EvaluateFreeSpace(spare_percentage)
mountName != "/dev/shm" &&
part["spec"] != "udev" &&
!mountName.start_with?("/media/") &&
!mountName.start_with?("/run/media/") &&
!mountName.start_with?("/var/adm/mount/")
part_info["name"] = mountName
end
Expand Down

0 comments on commit da69606

Please sign in to comment.