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
19 # NOTE: when collapsing FW lists keep major.minor still separated, so we can sunset the older ones
20 # without user impact safely. The last oldstable list needs to be kept avoid breakage on upgrade
22 fw.list
: fwlist-5.4
.86-1-pve
23 fw.list
: fwlist-5.11.x-y-pve
24 fw.list
: fwlist-5.13.x-y-pve
25 fw.list
: fwlist-5.15
.5-1-pve
26 fw.list
: fwlist-5.15
.19-1-pve
27 fw.list
: fwlist-5.15
.27-1-pve
28 fw.list
: fwlist-5.15
.35-1-pve
29 fw.list
: fwlist-5.15
.53-1-pve
30 fw.list
: fwlist-5.19
.0-1-pve
31 fw.list
: fwlist-5.19
-iwlwifi-extra
36 fwdata
: linux-firmware.git
/WHENCE dvb-firmware.git
/README fw.list
37 rm -rf fwdata fwdata.tmp
38 mkdir
-p fwdata.tmp
/lib
/firmware
39 cd linux-firmware.git
; .
/copy-firmware.sh
-v ..
/fwdata.tmp
/lib
/firmware
/
40 .
/assemble-firmware.pl fw.list fwdata.tmp
/lib
/firmware
41 find fwdata.tmp
/lib
/firmware
-empty
-type d
-delete
42 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
43 cp linux-firmware.git
/WHENCE fwdata.tmp
/usr
/share
/doc
/pve-firmware
/README
44 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
45 cp linux-firmware.git
/LICEN
[CS
]E
* fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
48 # upgrade to current master
49 .PHONY
: update_modules
50 update_modules
: submodule
51 git submodule
foreach 'git pull --ff-only origin master'
53 # make sure submodules were initialized
55 submodule dvb-firmware.git
/README linux-firmware.git
/WHENCE
:
56 test -f
"linux-firmware.git/WHENCE" || git submodule update
--init
60 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist bullseye
64 rm -rf fwdata fw.list
*.deb
*.buildinfo
*.dsc
*.changes