Marquis Carroll
03/06/2019, 7:13 AMmake package-builder
seph
03/06/2019, 3:01 PMMarquis Carroll
03/06/2019, 7:01 PMseph
03/06/2019, 7:43 PMGO111MODULE=on go mod download
make package-builder
Marquis Carroll
03/06/2019, 7:49 PMseph
03/06/2019, 7:51 PMdover:launcher seph$ docker run -i -t golang:1.12-stretch
root@8a9b9c01992b:/go# cd /tmp
root@8a9b9c01992b:/tmp# git clone <https://github.com/kolide/launcher.git>
Cloning into 'launcher'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 2450 (delta 11), reused 7 (delta 2), pack-reused 2402
Receiving objects: 100% (2450/2450), 3.54 MiB | 0 bytes/s, done.
Resolving deltas: 100% (1423/1423), done.
root@8a9b9c01992b:/tmp# cd launcher/
root@8a9b9c01992b:/tmp/launcher# make package-builder
go run cmd/make/make.go -targets=deps-go,install-tools
go: finding <http://github.com/bitly/go-simplejson|github.com/bitly/go-simplejson> v0.5.0
go: finding <http://github.com/WatchBeam/clock|github.com/WatchBeam/clock> v0.0.0-20170901150240-b08e6b4da7ea
go: finding <http://github.com/bugsnag/panicwrap|github.com/bugsnag/panicwrap> v1.2.0
go: finding <http://github.com/Sirupsen/logrus|github.com/Sirupsen/logrus> v1.0.3
go: finding <http://github.com/bmizerany/assert|github.com/bmizerany/assert> v0.0.0-20160611221934-b7ed37b82869
...
Do you have anything odd about network connectivity?GO111MODULE=on go mod download
produce output?Marquis Carroll
03/06/2019, 8:58 PMseph
03/06/2019, 9:14 PMMarquis Carroll
03/06/2019, 10:38 PMseph
03/07/2019, 12:46 AMMarquis Carroll
03/07/2019, 12:53 AMseph
03/07/2019, 1:10 AMMarquis Carroll
03/07/2019, 6:50 PMseph
03/08/2019, 1:59 AMMarquis Carroll
03/08/2019, 2:48 AMseph
03/08/2019, 3:00 AMMarquis Carroll
03/08/2019, 11:07 PMlauncher.darwin-launchd-pkg.pkg
so do I just rename the extension to dpkg?seph
03/09/2019, 1:39 AMdarwin-launchd-pkg
would be me a mac packaing, using launchd, packaged via pkg. Not at all what you what for dpkg. As said, you want linux-systemd-deb
Marquis Carroll
03/09/2019, 2:13 AMseph
03/09/2019, 3:27 PMMarquis Carroll
03/11/2019, 4:09 PM./build/package-builder make --hostname=<http://domain.com:8080|domain.com:8080> --enroll_secret=secretkey --extension_version nightly --targets linux-systemd-deb
--help
output for some directions. For example, there is a -package_version
parameter.Marquis Carroll
03/11/2019, 5:33 PMAccess the debug endpoints at /debug/?token=<token>
and it keeps saying invalid enroll secret so should I specify that token in the fleet serve command?