Skip to content

Commit

Permalink
Remove 3GB size logic for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
ydkhatri committed Sep 4, 2021
1 parent 41d2f5b commit 9608687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mac_apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ def FindMacOsPartitionInApfsContainer(img, vol_info, container_size, container_s
else:
# Search for macOS partition in volumes
for vol in mac_info.apfs_container.volumes:
if vol.num_blocks_used * vol.container.block_size < 3000000000: # < 3 GB, cannot be a macOS root volume
continue
#if vol.num_blocks_used * vol.container.block_size < 3000000000: # < 3 GB, cannot be a macOS root volume
# continue
mac_info.macos_FS = vol
vol.dbo = mac_info.apfs_db
if FindMacOsFiles(mac_info):
Expand Down

0 comments on commit 9608687

Please sign in to comment.