File: rules

package info (click to toggle)
fwupdate-i386-signed 12%2B4%2Bdeb10u4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 52 kB
  • sloc: sh: 54; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

PACKAGE_NAME  := fwupdate
SIG_PKG_NAME  := fwupdate-i386-signed
SIGNATURE_DIR := debian/signatures/$(PACKAGE_NAME)
BINARY        := $(shell find /usr/lib/fwupdate/ -name '*.efi' | xargs basename)

%:
	dh $@

override_dh_auto_build:
	cp /usr/lib/fwupdate/$(BINARY) .
	sbattach --attach $(SIGNATURE_DIR)/usr/lib/fwupdate/$(BINARY).sig $(BINARY)
	mv $(BINARY) $(BINARY).signed