diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-04 21:38:14 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-04 21:38:14 +0500 |
| commit | eb71c13f3bb0ca9ae2084a2b986f915d15f0ac65 (patch) | |
| tree | a6ac5789a715ca475d7911c10d13cf611ea3b259 /debian/Makefile | |
| parent | workflows: add some comments (diff) | |
| download | linux-status-eb71c13f3bb0ca9ae2084a2b986f915d15f0ac65.tar.gz linux-status-eb71c13f3bb0ca9ae2084a2b986f915d15f0ac65.zip | |
debian: ditch Vagrant, switch to Docker
Diffstat (limited to 'debian/Makefile')
| -rw-r--r-- | debian/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/debian/Makefile b/debian/Makefile index 5580ca0..60f652c 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -1,26 +1,27 @@ include ../prelude.mk -NAME ?= Egor Tensin -EMAIL ?= egor@tensin.name PPA_OWNER ?= egor-tensin PPA_NAME ?= linux-status GPG_KEY ?= 09AEA2BAD52882A1AF9D6042F218DB829A9905B5 DIST ?= focal -$(eval $(call noexpand,NAME)) -$(eval $(call noexpand,EMAIL)) $(eval $(call noexpand,PPA_OWNER)) $(eval $(call noexpand,PPA_NAME)) $(eval $(call noexpand,GPG_KEY)) $(eval $(call noexpand,DIST)) -export NAME -export EMAIL - this_dir := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) root := $(this_dir)/.. build_area := $(this_dir)/build-area +.PHONY: docker +docker: + uid="$$( stat -c '%u' . )" && \ + gid="$$( stat -c '%g' . )" && \ + docker compose build --build-arg UID="$$uid" --build-arg GID="$$gid" + docker compose run --rm builder + docker compose down -v + .PHONY: deps deps: apt update @@ -30,8 +31,10 @@ deps: devscripts \ dh-make \ dput \ + fakeroot \ git-buildpackage \ - vim + openssh-client \ + sudo .PHONY: dch dch: |
