You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time moves on, and pkgbuild has more functions than were present when AutoPkg was created. Each of the following functions would be awesome to add into the core packager.py script to make larger payloads possible, provide smaller compressed packages, and to sign packages so that they can be used for MDM-based pkg deployment:
--large-payload
By default, packages that are created have a per-file size limit associated with them. This method instructs
pkgbuild to construct a package where the included payload format supports large files. A large file is defined
as any file that is 8 GiB or larger.
Warning: The --large-payload option generates packages that are only compatible with macOS 12.0 and above.
Packages using this feature will fail to install or extract on previous releases. Specifying this option
requires the user to pass [--min-os-version 12.0] or later to acknowledge this requirement.
--compression compression-mode
Allows control over the compression used for the package. This option does not affect the compression used for
plugins or scripts. Not specifying this option will leave the chosen compression algorithm up to the operating
system. Two compression-mode arguments are supported:
• legacy forces a 10.5-compatible compression algorithm for the package.
• latest enables pkgbuild to automatically select newer, more efficient compression algorithms based on what
is provided to [--min-os-version <version>].
--min-os-version os-version
Specifying a minimum OS version allows the system to create a package with the latest supported features. Some
features can have major benefits such as a better compression ratio. However, specifying a minimum version will
make the package require that version when presented to productbuild(1). Some of the options in this tool
require this argument to be provided.
--sign identity-name
Adds a digital signature to the resulting package. See SIGNED PACKAGES
--keychain keychain-path
Specify a specific keychain to search for the signing identity. See SIGNED PACKAGES
The text was updated successfully, but these errors were encountered:
@grahampugh Do you have any particular thoughts about the approach for this? I might be interested in it, given that I have been known to love compression.
Time moves on, and
pkgbuild
has more functions than were present when AutoPkg was created. Each of the following functions would be awesome to add into the corepackager.py
script to make larger payloads possible, provide smaller compressed packages, and to sign packages so that they can be used for MDM-based pkg deployment:The text was updated successfully, but these errors were encountered: