summaryrefslogtreecommitdiffstats
path: root/debian/signing-template/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:14:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:14:35 +0000
commitc1edb76da8591808b80d74d6a79b7c475e6ff6cf (patch)
treea2116ab4179baaba7a4adc285b39d78b1ccda931 /debian/signing-template/rules
parentAdding debian version 256-1. (diff)
downloadsystemd-c1edb76da8591808b80d74d6a79b7c475e6ff6cf.tar.xz
systemd-c1edb76da8591808b80d74d6a79b7c475e6ff6cf.zip
Adding debian version 256-2.debian/256-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/signing-template/rules')
-rwxr-xr-xdebian/signing-template/rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/signing-template/rules b/debian/signing-template/rules
new file mode 100755
index 0000000..0887e3e
--- /dev/null
+++ b/debian/signing-template/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+
+BINARY = systemd-boot${DEB_HOST_ARCH_EFI}.efi
+INSTALLED = usr/lib/systemd/boot/efi/$(BINARY)
+SIGNATURE = debian/signatures/systemd-boot-efi/$(INSTALLED).sig
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ cp /$(INSTALLED) $(BINARY)
+ sbattach --attach $(SIGNATURE) $(BINARY)
+ mv $(BINARY) $(BINARY).signed
+
+override_dh_gencontrol:
+ dh_gencontrol -- -v${DEB_VERSION}