-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osxpkg: Unable to use generated package in newer versions of MacOS #1908
Comments
Yes! I think we can reuse an existing parameter that fpm has, I looked at the code in fpm, and adding support for this should be fairly simple, using passing I'll work on this when I can :) |
A user reported that on macOS Catalina, the default pkgbuild install location may result in a .pkg file which cannot be installed. This change makes fpm's `--prefix` option pass through to `pkgbuild`'s `--install-location` flag > With macOS Catalina, you can no longer store files or data in the read-only system volume, nor can you write to the "root" directory ( / ) from the command line, such as with Terminal. References: * macOS Catalina's new read-only root filesystem: https://support.apple.com/en-us/HT210650 Fixes #1908
#1909 might fix this. I don't have access to macOS Catalina at this time, so I would love if you could help test this. If you don't know how to test it, but still want to try, let me know and maybe we can step through things together? No pressure :) |
I faked my own |
Hey Jordan, I was able to test the package and I'm able to install it now with the --prefix flag. Appreciate your help! |
Lovely! Thank you for testing :)
…On Mon, Jun 6, 2022, at 7:57 AM, mcataga wrote:
Hey Jordan, I was able to test the package and I'm able to install it now with the --prefix flag. Appreciate your help!
—
Reply to this email directly, view it on GitHub <#1908 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABAF2QF5PHC2D56HIJYIZ3VNYGVPANCNFSM5XZ6WZCA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
A user reported that on macOS Catalina, the default pkgbuild install location may result in a .pkg file which cannot be installed. This change makes fpm's `--prefix` option pass through to `pkgbuild`'s `--install-location` flag > With macOS Catalina, you can no longer store files or data in the read-only system volume, nor can you write to the "root" directory ( / ) from the command line, such as with Terminal. References: * macOS Catalina's new read-only root filesystem: https://support.apple.com/en-us/HT210650 Fixes #1908
A user reported that on macOS Catalina, the default pkgbuild install location may result in a .pkg file which cannot be installed. This change makes fpm's `--prefix` option pass through to `pkgbuild`'s `--install-location` flag > With macOS Catalina, you can no longer store files or data in the read-only system volume, nor can you write to the "root" directory ( / ) from the command line, such as with Terminal. References: * macOS Catalina's new read-only root filesystem: https://support.apple.com/en-us/HT210650 Fixes #1908
fpm 1.15.0 is released and contains this improvement. |
Since fpm is using pkgbuild under the hood, could we add a parameter that passes the value to the '--install-location' parameter of pkgbuild?
Without the ability to specify that parameter, the installation location defaults to the root. Which in Mac OS Catalina and above is defaulted to read-only, so the package created ends up unusable.
The text was updated successfully, but these errors were encountered: