mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
parent
aaf5dae5dd
commit
fd57cf8510
2 changed files with 8 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@
|
||||||
.PHONY: debian
|
.PHONY: debian
|
||||||
debian:
|
debian:
|
||||||
dpkg-buildpackage -us -uc -b --target-arch amd64
|
dpkg-buildpackage -us -uc -b --target-arch amd64
|
||||||
dpkg-buildpackage -us -uc -b --target-arch arm
|
dpkg-buildpackage -us -uc -b --target-arch armhf
|
||||||
dpkg-buildpackage -us -uc -b --target-arch arm64
|
dpkg-buildpackage -us -uc -b --target-arch arm64
|
||||||
# debs are one up
|
# debs are one up
|
||||||
ls ../*.deb
|
ls ../*.deb
|
||||||
|
|
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -6,7 +6,13 @@ DEB_HOST_ARCH := $(DEB_TARGET_ARCH)
|
||||||
DISTRIBUTION := $(shell lsb_release -sr)
|
DISTRIBUTION := $(shell lsb_release -sr)
|
||||||
PACKAGEVERSION := $(VERSION)-0~$(DISTRIBUTION)0
|
PACKAGEVERSION := $(VERSION)-0~$(DISTRIBUTION)0
|
||||||
TARBALL := coredns_$(VERSION)_linux_$(DEB_TARGET_ARCH).tgz
|
TARBALL := coredns_$(VERSION)_linux_$(DEB_TARGET_ARCH).tgz
|
||||||
URL := https://github.com/coredns/coredns/releases/download/v$(VERSION)/$(TARBALL)
|
|
||||||
|
# Debian calls it armhf, we call it arm.
|
||||||
|
ifeq ($(DEB_TARGET_ARCH),armhf)
|
||||||
|
TARBALL := coredns_$(VERSION)_linux_arm.tgz
|
||||||
|
endif
|
||||||
|
|
||||||
|
URL := https://github.com/coredns/coredns/releases/download/v$(VERSION)/$(TARBALL)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue