Sherwin
12/12/2019, 3:51 PMseph
package-builder
tool to build a MSI containing launcherSherwin
12/12/2019, 4:48 PMseph
Sherwin
12/12/2019, 5:41 PMseph
Sherwin
12/12/2019, 5:43 PMpackage-builder
, you must:
• Be on macOS
• Be able to docker run
something
• Build package-builder
from sourceseph
Sherwin
12/12/2019, 5:43 PMseph
The macOS package is built and signed using the pkgbuild command, which is only found on macOS. There are plans to allow for the building of mac packages on Linux but until then, it is a requirement to use a macOS machine when running the package-builder tool.is misleading. That’s saying you can only build a mac package on macOS. Just as you only build a windows package on windows.
pkgbuild
is not the same as package-builder
Sherwin
12/12/2019, 5:44 PMseph
pkgbuild
is a macOS command to build mac packagesSherwin
12/12/2019, 5:45 PMseph
Sherwin
12/12/2019, 5:46 PMseph
Sherwin
12/12/2019, 5:46 PMseph
Sherwin
12/12/2019, 5:51 PMseph
Sherwin
12/12/2019, 5:52 PMseph
Sherwin
12/12/2019, 5:55 PMsundsta
12/12/2019, 7:13 PM./package-builder.exe make \
--hostname="$(FLEET_HOSTNAME)" \
--enroll_secret="$(FLEET_ENROLL_SECRET)" \
--update_channel stable \
--osquery_version ./osqueryd.exe \
--launcher_version ./launcher.exe \
--extension_version ./osquery-extension.exe \
--notary_url="$(NOTARY_URL)" \
--mirror_url="$(MIRROR_URL)" \
--notary_prefix="$(NOTARY_PREFIX)" \
--targets=windows-service-msi \
--package_version=$(PACKAGE_VERSION) \
--output_dir .
seph
groob
make package builder
and getting Some Error I copy Pasted
, what do I do?”
Instead you’re just asking questions that don’t have good answers.Sherwin
12/12/2019, 7:34 PMseph
make
is a common build tool. If you don’t have make installed, you might be able to run the underlying files. But it’s simpler if you have make. I wonder if I should ship package-builder with the launcher releases. “maybe”Sherwin
12/12/2019, 7:37 PMseph
Sherwin
12/12/2019, 7:40 PMsundsta
12/12/2019, 7:40 PMSherwin
12/12/2019, 7:41 PMseph
Sherwin
12/12/2019, 8:23 PMseph
Sherwin
12/12/2019, 9:44 PMseph
Sherwin
12/12/2019, 9:45 PMseph
Sherwin
12/12/2019, 9:45 PMseph
sundsta
12/12/2019, 10:32 PMSherwin
12/13/2019, 6:53 PMseph
Sherwin
12/16/2019, 7:39 PMgroob
Sherwin
12/16/2019, 7:47 PMgroob
Sherwin
12/16/2019, 7:51 PM