[MacPorts] #70291: Add portimage_mode to macports.conf on APFS builders
MacPorts
noreply at macports.org
Sun Jul 21 21:14:59 UTC 2024
#70291: Add portimage_mode to macports.conf on APFS builders
----------------------------+---------------------
Reporter: jmroot | Owner: admin@…
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version:
Resolution: worksforme | Keywords:
Port: |
----------------------------+---------------------
Changes (by jmroot):
* status: new => closed
* resolution: => worksforme
Comment:
The default in MacPorts 2.10 will be to store port images as directories
when they are stored on an APFS filesystem. This will probably cause
inactive ports to use a little more space, since the files are only
individually compressed with HFS compression rather than being packed into
a tar file and bzipped. But because clonefile() is used when activating
them, activating will use almost no extra space, will be far faster, and
will cause far less SSD wear. Existing archives are only extracted when
the associated port is activated, so there won't be a sudden increase in
disk usage.
I added code to mpbb to create an archive in the gather-archives step if
there isn't one in the port image location, so the default setting should
actually be fine. We can revisit this if there turn out to be unforeseen
issues.
--
Ticket URL: <https://trac.macports.org/ticket/70291#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list