1 include /usr
/share
/dpkg
/pkg-info.mk
4 export KERNEL_ABI
=5.4.65-1-pve
6 GITVERSION
:=$(shell git rev-parse HEAD
)
8 KERNEL_DEB
=pve-kernel-
${KERNEL_VER}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
9 HEADERS_DEB
=pve-headers-
${KERNEL_VER}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
10 HELPER_DEB
=pve-kernel-helper_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
14 DEBS
=${KERNEL_DEB} ${HEADERS_DEB} ${HELPER_DEB}
20 set
-e
&& for i in
${SUBDIRS}; do
${MAKE} -C
$$i; done
25 ${HEADERS_DEB}: ${KERNEL_DEB}
28 mkdir
-p
${BUILD_DIR}/debian
29 rsync
-a
* ${BUILD_DIR}/
30 cd
${BUILD_DIR}; debian
/rules debian
/control
31 echo
"git clone git://git.proxmox.com/git/pve-kernel-meta.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian
/SOURCE
32 cd
${BUILD_DIR}; dpkg-buildpackage
-b
-uc
-us
37 set
-e
&& for i in
${SUBDIRS}; do
${MAKE} -C
$$i $@
; done
41 tar cf
- ${DEBS}|ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist buster
43 .PHONY
: clean distclean
46 rm -rf
*~
${BUILD_DIR} *.deb
*.dsc
*.changes
*.buildinfo