mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
parent
aaf5dae5dd
commit
fd57cf8510
2 changed files with 8 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@
|
|||
.PHONY: debian
|
||||
debian:
|
||||
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
|
||||
# debs are one up
|
||||
ls ../*.deb
|
||||
|
|
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -6,6 +6,12 @@ DEB_HOST_ARCH := $(DEB_TARGET_ARCH)
|
|||
DISTRIBUTION := $(shell lsb_release -sr)
|
||||
PACKAGEVERSION := $(VERSION)-0~$(DISTRIBUTION)0
|
||||
TARBALL := coredns_$(VERSION)_linux_$(DEB_TARGET_ARCH).tgz
|
||||
|
||||
# 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)
|
||||
|
||||
%:
|
||||
|
|
Loading…
Reference in a new issue