Skip to content
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

adhoc build and run santa #840

Merged
merged 4 commits into from
Jul 7, 2022
Merged

adhoc build and run santa #840

merged 4 commits into from
Jul 7, 2022

Conversation

tburgin
Copy link
Contributor

@tburgin tburgin commented Jul 7, 2022

This CL adds a new SANTA_BUILD_TYPE named adhoc. When building with this type no provisioning profiles or code signing certificates are used. This will be useful for anyone developing Santa who doesn't have access to Google's dev provisioning profiles or code signing certificates.

Add the --define=SANTA_BUILD_TYPE=adhoc flag to bazel commands to use this build mode. It works well for the :reload command for example:

bazel run :reload --define=SANTA_BUILD_TYPE=adhoc

Note: if you are currently running a release or non-adhoc dev build of Santa, this new adhoc build will show up as a second instance of Santa. Remove the non-adhoc instance like so:

systemextensionsctl uninstall EQHXZ8M8AV com.google.santa.daemon

Once CL is landed docs will follow.

@tburgin
Copy link
Contributor Author

tburgin commented Jul 7, 2022

SIP must be disabled to run the adhoc build

Source/santa/BUILD Show resolved Hide resolved
Source/santad/BUILD Outdated Show resolved Hide resolved
docs/development/building.md Outdated Show resolved Hide resolved
docs/development/building.md Outdated Show resolved Hide resolved
russellhancox
russellhancox previously approved these changes Jul 7, 2022
@tburgin tburgin enabled auto-merge (squash) July 7, 2022 20:42
@tburgin tburgin merged commit 64096f5 into google:main Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants