File: rules

package info (click to toggle)
fwupd-armhf-signed 1%3A1.7%2B1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 40 kB
  • sloc: makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

PACKAGE_NAME  := fwupd-unsigned
SIG_PKG_NAME  := fwupd-armhf-signed
SIGNATURE_DIR := debian/signatures/$(PACKAGE_NAME)
BINARY        := $(shell find /usr/libexec/fwupd/efi -name '*.efi' | xargs basename)

%:
	dh $@

override_dh_auto_build:
	cp /usr/libexec/fwupd/efi/$(BINARY) .
	sbattach --attach $(SIGNATURE_DIR)/usr/libexec/fwupd/efi/$(BINARY).sig $(BINARY)
	mv $(BINARY) $(BINARY).signed