I just built osquery from the source following <th...
# general
k
I just built osquery from the source following this guide. I want to deploy this to other macOS machines, but I'm rather overwhelmed by the number of files in the
build
directory that I'm seeing. Is there a way to create a
.pkg
file from these build artifacts, or any other way to run this osquery binary on other machines? Here are the files that I'm seeing under the
build
directory (tree level 2):
z
./osquery/osqueryd
is your primary artifact. There is some packaging tooling but I haven't looked at that in a while.
m
The osqueryd binary is standalone and will run on other machines. If you want to build a pkg installer, that's a Cmake target.
k
I see! It was essentially just a difference between
cmake --build .
and
cmake --build . --target package
(not counting the env var setup). Thanks immensely!
👌 1