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
20 fw.list
: fwlist-5.4
.86-1-pve fwlist-5.4
-and-older
23 fwdata
: linux-firmware.git
/WHENCE dvb-firmware.git
/README fw.list
24 rm -rf fwdata fwdata.tmp
25 mkdir
-p fwdata.tmp
/lib
/firmware
26 cd linux-firmware.git
; .
/copy-firmware.sh
-v ..
/fwdata.tmp
/lib
/firmware
/
27 .
/assemble-firmware.pl fw.list fwdata.tmp
/lib
/firmware
28 find fwdata.tmp
/lib
/firmware
-empty
-type d
-delete
29 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
30 cp linux-firmware.git
/WHENCE fwdata.tmp
/usr
/share
/doc
/pve-firmware
/README
31 install -d fwdata.tmp
/usr
/share
/doc
/pve-firmware
/licenses
32 cp linux-firmware.git
/LICEN
[CS
]E
* fwdata.tmp
/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 fw.list
*.deb
*.buildinfo
*.dsc
*.changes