1 include /usr
/share
/dpkg
/pkg-info.mk
3 FW_DEB
=pve-firmware_
${DEB_VERSION}_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
20 fw.list
: fwlist-5.4
.86-1-pve
21 fw.list
: fwlist-5.11
.0-1-pve
22 fw.list
: fwlist-5.11
.21-1-pve
23 fw.list
: fwlist-5.11
.22-4-pve
24 fw.list
: fwlist-5.13
.14-1-pve
25 fw.list
: fwlist-5.13
.19-1-pve
28 fwdata
: linux-firmware.git
/WHENCE dvb-firmware.git
/README fw.list
29 rm -rf fwdata fwdata.tmp
30 mkdir
-p fwdata.tmp
/lib
/firmware
31 cd linux-firmware.git
; .
/copy-firmware.sh
-v ..
/fwdata.tmp
/lib
/firmware
/
32 .
/assemble-firmware.pl fw.list fwdata.tmp
/lib
/firmware
33 find fwdata.tmp
/lib
/firmware
-empty
-type d
-delete
34 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
35 cp linux-firmware.git
/WHENCE fwdata.tmp
/usr
/share
/doc
/pve-firmware
/README
36 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
37 cp linux-firmware.git
/LICEN
[CS
]E
* fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
40 # upgrade to current master
41 .PHONY
: update_modules
42 update_modules
: submodule
43 git submodule
foreach 'git pull --ff-only origin master'
45 # make sure submodules were initialized
47 submodule dvb-firmware.git
/README linux-firmware.git
/WHENCE
:
48 test -f
"linux-firmware.git/WHENCE" || git submodule update
--init
52 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist bullseye
56 rm -rf fwdata fw.list
*.deb
*.buildinfo
*.dsc
*.changes