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
27 fwdata
: linux-firmware.git
/WHENCE dvb-firmware.git
/README fw.list
28 rm -rf fwdata fwdata.tmp
29 mkdir
-p fwdata.tmp
/lib
/firmware
30 cd linux-firmware.git
; .
/copy-firmware.sh
-v ..
/fwdata.tmp
/lib
/firmware
/
31 .
/assemble-firmware.pl fw.list fwdata.tmp
/lib
/firmware
32 find fwdata.tmp
/lib
/firmware
-empty
-type d
-delete
33 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
34 cp linux-firmware.git
/WHENCE fwdata.tmp
/usr
/share
/doc
/pve-firmware
/README
35 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
36 cp linux-firmware.git
/LICEN
[CS
]E
* fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
39 # upgrade to current master
40 .PHONY
: update_modules
41 update_modules
: submodule
42 git submodule
foreach 'git pull --ff-only origin master'
44 # make sure submodules were initialized
46 submodule dvb-firmware.git
/README linux-firmware.git
/WHENCE
:
47 test -f
"linux-firmware.git/WHENCE" || git submodule update
--init
51 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist bullseye
55 rm -rf fwdata fw.list
*.deb
*.buildinfo
*.dsc
*.changes