Skip to content

Commit

Permalink
debian: package build for stretch
Browse files Browse the repository at this point in the history
Signed-off-by: Máximo Cuadros <[email protected]>
  • Loading branch information
mcuadros committed Jan 5, 2018
1 parent 1d48e9f commit af97f0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR := $(shell pwd)
BUILD_PATH := $(WORKDIR)/build
DOCKER_IMAGE_BUILD = mcuadros/octoprint-tft-build

DEBIAN_PACKAGES = JESSIE
DEBIAN_PACKAGES = JESSIE STRETCH
STRETCH_NAME := stretch
STRETCH_IMAGE := golang:1.9-stretch
STRETCH_GO_TAGS := gtk_3_22
Expand Down
5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ override_dh_auto_build:
-X $(DH_GOPKG)/ui.Build=$(BUILD_DATE)\
"

override_dh_golang:
# The dh_golang is used to add the Built-using field to the deb. This is only for reference.
# https://github.com/git-lfs/git-lfs/pull/2203/files
# dh_golang errors out because the go compiler used was not installed via a package. Therefore the step is skipped

override_dh_install:
mkdir -p $(CURDIR)/debian/octoprint-tft/opt/octoprint-tft/
cp -r styles $(CURDIR)/debian/octoprint-tft/opt/octoprint-tft/
Expand Down

0 comments on commit af97f0c

Please sign in to comment.