File: rules

package info (click to toggle)
intel-acm 20210710-2
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 2,240 kB
  • sloc: python: 66; sh: 30; makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 928 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_install:
	mkdir -p "$(CURDIR)/debian/intel-acm/boot"
	find acm -iname "*.bin" ! -name 6th_gen_i5_i7_SINIT_71.BIN ! -name "*RACM*" -type f -exec install -m 644 -v {} "$(CURDIR)/debian/intel-acm/boot/" \;
	mkdir -p "$(CURDIR)/debian/intel-acm/usr/share/doc/intel-acm"
	rsync --delete-excluded --exclude 6th_gen_i5_i7_SINIT_71 --delete -av --exclude "*RACM*" --exclude "license.txt" --exclude "*.xlsx" --exclude "SINIT_Error_Codes.pdf" --exclude "SINIT_Errors.pdf" --exclude "*.bin" --exclude "*.BIN" acm "$(CURDIR)/debian/intel-acm/usr/share/doc/intel-acm"

# 6th_gen_i5_i7_SINIT_71 is excluded since according to upstream it should not be used.
# See https://sourceforge.net/p/tboot/mailman/message/36980500/
# "Re: [tboot-devel] tboot not picking the right ACM module on Dell Latitude E5470"

# RACM modules are excluded for now as they can make permanent changes
# to the system.