[pve-devel] [PATCH 2/4] re-add pve-headers meta-package

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Mon Apr 30 11:01:32 CEST 2018


to depend on pve-headers-4.15, which depends on the actual
pve-headers-4.15.x-y-pve package.

Signed-off-by: Fabian Gr├╝nbichler <f.gruenbichler at proxmox.com>
---
 Makefile       | 4 +++-
 debian/control | 6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 1db3eb8..5f3c15f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,16 @@ PKGREL=42
 GITVERSION:=$(shell git rev-parse HEAD)
 
 PVE_DEB=${PACKAGE}_${RELEASE}-${PKGREL}_all.deb
+PVE_HEADERS_DEB=pve-headers_${RELEASE}-${PKGREL}_all.deb
 
 BUILD_DIR=build
 
-DEBS=${PVE_DEB}
+DEBS=${PVE_DEB} ${PVE_HEADERS_DEB}
 
 all: deb
 deb: ${DEBS}
 
+${PVE_HEADERS_DEB}: ${PVE_DEB}
 ${PVE_DEB}: debian
 	rm -rf ${BUILD_DIR}
 	mkdir -p ${BUILD_DIR}/debian
diff --git a/debian/control b/debian/control
index 119b612..4aa10cf 100644
--- a/debian/control
+++ b/debian/control
@@ -29,3 +29,9 @@ Description: The Proxmox Virtual Environment
  virtualization platform for running Virtual Appliances and Virtual
  Machines. This is a meta package which will install everything
  needed.
+
+Package: pve-headers
+Architecture: all
+Depends: pve-headers-4.15,
+Description: Default Proxmox VE Kernel Headers
+ This is a virtual package which will install the kernel headers for the current default kernel.
-- 
2.14.2




More information about the pve-devel mailing list