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.4
.22-1-pve fwdata
/lib
/firmware
23 # include any files from older/newer kernels here
24 .
/assemble-firmware.pl fwlist-5.3
.18-1-pve fwdata
/lib
/firmware
25 .
/assemble-firmware.pl fwlist-5.3
.1-1-pve fwdata
/lib
/firmware
26 .
/assemble-firmware.pl fwlist-5.0
.21-4-pve fwdata
/lib
/firmware
27 .
/assemble-firmware.pl fwlist-5.0
.15-1-pve fwdata
/lib
/firmware
28 .
/assemble-firmware.pl fwlist-5.0
.8-1-pve fwdata
/lib
/firmware
29 .
/assemble-firmware.pl fwlist-4.15
-and-older fwdata
/lib
/firmware
30 install -d fwdata
/usr
/share
/doc
/pve-firmware
31 cp linux-firmware.git
/WHENCE fwdata
/usr
/share
/doc
/pve-firmware
/README
32 install -d fwdata
/usr
/share
/doc
/pve-firmware
/licenses
33 cp linux-firmware.git
/LICEN
[CS
]E
* fwdata
/usr
/share
/doc
/pve-firmware
/licenses
35 # upgrade to current master
36 .PHONY
: update_modules
37 update_modules
: submodule
38 git submodule
foreach 'git pull --ff-only origin master'
40 # make sure submodules were initialized
42 submodule dvb-firmware.git
/README linux-firmware.git
/WHENCE
:
43 test -f
"linux-firmware.git/WHENCE" || git submodule update
--init
47 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
51 rm -rf fwdata
*.deb
*.buildinfo
*.dsc
*.changes