1 include /usr
/share
/dpkg
/pkg-info.mk
3 FW_DEB
=pve-firmware_
${DEB_VERSION_UPSTREAM}_all.deb
5 GITVERSION
:=$(shell git rev-parse HEAD
)
7 export SOURCE_DATE_EPOCH ?
= $(shell dpkg-parsechangelog
-STimestamp
)
16 echo
"git clone git://git.proxmox.com/git/pve-firmware.git\\ngit checkout ${GITVERSION}" >fwdata
/debian
/SOURCE
17 cd fwdata
; dpkg-buildpackage
-b
-us
-uc
19 fwdata
: linux-firmware.git
/WHENCE dvb-firmware.git
/README fwlist-
*-pve
21 mkdir
-p fwdata
/lib
/firmware
22 .
/assemble-firmware.pl fwlist-5.0
.15-1-pve fwdata
/lib
/firmware
23 # include any files from older/newer kernels here
24 .
/assemble-firmware.pl fwlist-5.0
.8-1-pve fwdata
/lib
/firmware
25 .
/assemble-firmware.pl fwlist-4.15
-and-older fwdata
/lib
/firmware
26 install -d fwdata
/usr
/share
/doc
/pve-firmware
27 cp linux-firmware.git
/WHENCE fwdata
/usr
/share
/doc
/pve-firmware
/README
28 install -d fwdata
/usr
/share
/doc
/pve-firmware
/licenses
29 cp linux-firmware.git
/LICEN
[CS
]E
* fwdata
/usr
/share
/doc
/pve-firmware
/licenses
31 # upgrade to current master
32 .PHONY
: update_modules
33 update_modules
: submodule
34 git submodule
foreach 'git pull --ff-only origin master'
36 # make sure submodules were initialized
38 submodule dvb-firmware.git
/README linux-firmware.git
/WHENCE
:
39 test -f
"linux-firmware.git/WHENCE" || git submodule update
--init
43 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
47 rm -rf fwdata
*.deb
*.buildinfo
*.dsc
*.changes