diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:21:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:21:59 +0000 |
commit | 59010db2e74061a361a54ba7d3a7e0710e01ee46 (patch) | |
tree | d91ba2aceedf86ec13e6030dc582f074676bb171 /debian/rules | |
parent | Adding upstream version 1.0.128+nmu2+deb12u1. (diff) | |
download | debootstrap-59010db2e74061a361a54ba7d3a7e0710e01ee46.tar.xz debootstrap-59010db2e74061a361a54ba7d3a7e0710e01ee46.zip |
Adding debian version 1.0.128+nmu2+deb12u1.debian/1.0.128+nmu2+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..dd4d229 --- /dev/null +++ b/debian/rules @@ -0,0 +1,35 @@ +#! /usr/bin/make -f + +ifeq (0,$(shell dpkg-vendor --derives-from Ubuntu; echo $$?)) + RECOMMENDS := ubuntu-keyring + SUGGESTS := debian-archive-keyring, arch-test (>= 0.11~), +else ifeq (0,$(shell dpkg-vendor --derives-from Tanglu; echo $$?)) + RECOMMENDS := tanglu-archive-keyring, arch-test (>= 0.11~), + SUGGESTS := debian-archive-keyring, ubuntu-archive-keyring, binutils, xz-utils, zstd +else ifeq (0,$(shell dpkg-vendor --derives-from Kali; echo $$?)) + RECOMMENDS := kali-archive-keyring, arch-test (>= 0.11~), + SUGGESTS := debian-archive-keyring, ubuntu-archive-keyring, binutils, xz-utils, zstd +else + RECOMMENDS := debian-archive-keyring, arch-test (>= 0.11~), + SUGGESTS := ubuntu-archive-keyring, binutils, xz-utils, zstd +endif + +%: + dh $@ + +# need to be root to make devices, so build is done in install target +override_dh_auto_build: + +override_dh_auto_install: + dh_auto_build + + $(MAKE) install DESTDIR=$(CURDIR)/debian/debootstrap + $(MAKE) install DESTDIR=$(CURDIR)/debian/debootstrap-udeb + +override_dh_gencontrol: + dh_gencontrol -- -Vdebootstrap:Recommends='$(RECOMMENDS)' -Vdebootstrap:Suggests='$(SUGGESTS)' + +# Specify gzip to mitigate #770217: +override_dh_builddeb: + dh_builddeb -pdebootstrap -- -Zgzip + dh_builddeb -pdebootstrap-udeb -- -Zxz |