From 01a86583a5201883f23473a9b7b2378eafe5ec2d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 31 Jan 2017 17:31:07 -0800 Subject: [PATCH] Fix the debian package to actually package the binary. Until now I was focused on getting the machinery in place, and didn't notice I was packaging the source code directory, instead of the binary. Oops. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c238ec..361d9e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,10 +17,12 @@ script: - go test $(glide novendor) - go vet $(glide novendor) - glide novendor | xargs -n1 golint + +- go build -o pixiecore.amd64 ./cmd/pixiecore - fpm -s dir -t deb -n pixiecore -v $(date '+%Y%m%d%H%M%S') --license Apache2 --vendor "David Anderson " --maintainer "David Anderson " --description "All-in-one PXE booting" --url "https://github.com/google/netboot" - ./pixiecore=/usr/bin/pixiecore + ./pixiecore.amd64=/usr/bin/pixiecore env: global: # Packagecloud API token