Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Preserve extended attributes #60

Closed
wants to merge 1 commit into from
Closed

Preserve extended attributes #60

wants to merge 1 commit into from

Conversation

carlashley
Copy link
Contributor

This will be required if any third party decides to code sign the /usr/local/outset/outset script specifically. Code sign requirements for plain text files are stored in extended attributes:

[carl@pegasus]:outset # xattr outset
com.apple.cs.CodeDirectory
com.apple.cs.CodeRequirements
com.apple.cs.CodeRequirements-1
com.apple.cs.CodeSignature

http://blog.jjgod.org/2013/06/21/preserving-extended-attributes-on-os-x/

Preserve extended attributes to allow code sign requirements to be included in the extended attributes of any code signed file.
@carlashley
Copy link
Contributor Author

The --preserve-xattr argument is undocument, so older versions of pkgbuild may not support it.
I've tested this on macOS 10.14 with Xcode 10 installed and the flag worked.

http://s.sudre.free.fr/Stuff/Ivanhoe/FLAT.html

@carlashley carlashley closed this Nov 19, 2018
@chilcote
Copy link
Owner

Sorry, I lost track of this. Is this still something you think should be added?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants