Skip to content
This repository was archived by the owner on Nov 24, 2019. It is now read-only.

Commit af97f0c

Browse files
committedJan 5, 2018
debian: package build for stretch
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
1 parent 1d48e9f commit af97f0c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ WORKDIR := $(shell pwd)
1515
BUILD_PATH := $(WORKDIR)/build
1616
DOCKER_IMAGE_BUILD = mcuadros/octoprint-tft-build
1717

18-
DEBIAN_PACKAGES = JESSIE
18+
DEBIAN_PACKAGES = JESSIE STRETCH
1919
STRETCH_NAME := stretch
2020
STRETCH_IMAGE := golang:1.9-stretch
2121
STRETCH_GO_TAGS := gtk_3_22

‎debian/rules

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ override_dh_auto_build:
1616
-X $(DH_GOPKG)/ui.Build=$(BUILD_DATE)\
1717
"
1818

19+
override_dh_golang:
20+
# The dh_golang is used to add the Built-using field to the deb. This is only for reference.
21+
# https://github.com/git-lfs/git-lfs/pull/2203/files
22+
# dh_golang errors out because the go compiler used was not installed via a package. Therefore the step is skipped
23+
1924
override_dh_install:
2025
mkdir -p $(CURDIR)/debian/octoprint-tft/opt/octoprint-tft/
2126
cp -r styles $(CURDIR)/debian/octoprint-tft/opt/octoprint-tft/

0 commit comments

Comments
 (0)