diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:29:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:29:52 +0000 |
commit | ca67b09c015d4af3ae3cce12aa72e60941dbb8b5 (patch) | |
tree | b7316d7b06c373e08dabb79a2c866c568e08f49e /debian/signing-template/rules.in | |
parent | Adding upstream version 2.06. (diff) | |
download | grub2-ca67b09c015d4af3ae3cce12aa72e60941dbb8b5.tar.xz grub2-ca67b09c015d4af3ae3cce12aa72e60941dbb8b5.zip |
Adding debian version 2.06-13+deb12u1.debian/2.06-13+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/signing-template/rules.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/signing-template/rules.in b/debian/signing-template/rules.in new file mode 100755 index 0000000..fec6ca5 --- /dev/null +++ b/debian/signing-template/rules.in @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +SIG_DIR := debian/signatures/@pkg_unsigned@ + +%: + dh $@ + +override_dh_auto_install: + set -e ; \ + find "$(SIG_DIR)" -name '*.sig' -printf '%P\n' | \ + while read sig; do \ + dst="debian/tmp/$${sig%/monolithic/*}-signed/$${sig##*/}ned" ; \ + install -m 0755 -d "$${dst%/*}" ; \ + install -m 0644 "/$${sig%.sig}" "$$dst" ; \ + sbattach --attach "$(SIG_DIR)/$$sig" "$$dst" ; \ + done + +override_dh_install: + dh_install --sourcedir=debian/tmp . |