diff --git a/debian/rules b/debian/rules index f19a5b8..8e13fb0 100755 --- a/debian/rules +++ b/debian/rules @@ -16,12 +16,12 @@ MAKEFLAGS += $(subst parallel=,-j,$(filter parallel=%,${DEB_BUILD_OPTIONS})) CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate) CHANGELOG_DATE_UTC_ISO := $(shell date -u -d '$(CHANGELOG_DATE)' +%Y-%m-%dT%H:%MZ) -PMX_KERNEL_PKG=proxmox-kernel-$(KVNAME) -PMX_KERNEL_SERIES_PKG=proxmox-kernel-$(KERNEL_MAJMIN) -PMX_DEBUG_KERNEL_PKG=proxmox-kernel-$(KVNAME)-dbgsym -PMX_HEADER_PKG=proxmox-headers-$(KVNAME) -PMX_USR_HEADER_PKG=proxmox-kernel-libc-dev -PMX_KERNEL_SIGNING_TEMPLATE_PKG=proxmox-kernel-${KVNAME}-signed-template +PMX_KERNEL_PKG=qoup-kernel-$(KVNAME) +PMX_KERNEL_SERIES_PKG=qoup-kernel-$(KERNEL_MAJMIN) +PMX_DEBUG_KERNEL_PKG=qoup-kernel-$(KVNAME)-dbgsym +PMX_HEADER_PKG=qoup-headers-$(KVNAME) +PMX_USR_HEADER_PKG=qoup-kernel-libc-dev +PMX_KERNEL_SIGNING_TEMPLATE_PKG=qoup-kernel-${KVNAME}-signed-template PMX_KERNEL_SIGNED_VERSION := $(shell echo ${DEB_VERSION} | sed -e 's/-/+/') LINUX_TOOLS_PKG=linux-tools-$(KERNEL_MAJMIN) KERNEL_SRC_COPY=$(KERNEL_SRC)_tmp @@ -121,7 +121,7 @@ debian/control: $(wildcard debian/*.in) sed -e 's/@KVNAME@/$(KVNAME)/g' -e 's/@KVMAJMIN@/$(KERNEL_MAJMIN)/g' < debian/control.in > debian/control # signing-template - sed -e '1 s/proxmox-kernel/proxmox-kernel-signed/' -e '1 s/${DEB_VERSION}/${PMX_KERNEL_SIGNED_VERSION}/' < debian/changelog > debian/signing-template/changelog + sed -e '1 s/qoup-kernel/qoup-kernel-signed/' -e '1 s/${DEB_VERSION}/${PMX_KERNEL_SIGNED_VERSION}/' < debian/changelog > debian/signing-template/changelog sed -e 's/@KVNAME@/${KVNAME}/g' -e 's/@KVMAJMIN@/$(KERNEL_MAJMIN)/g' -e 's/@UNSIGNED_VERSION@/${DEB_VERSION}/g' < debian/signing-template/control.in > debian/signing-template/control sed -e 's/@KVNAME@/${KVNAME}/g' < debian/signing-template/files.json.in > debian/signing-template/files.json sed -e 's/@KVNAME@/${KVNAME}/g' -e 's/@PKG_VERSION@/${DEB_VERSION}/' < debian/signing-template/rules.in > debian/signing-template/rules @@ -177,10 +177,10 @@ binary: install # remove firmware rm -rf debian/$(PMX_KERNEL_PKG)/lib/firmware -ifeq ($(filter pkg.proxmox-kernel.debug,$(DEB_BUILD_PROFILES)),) - echo "'pkg.proxmox-kernel.debug' build profile disabled, skipping -dbgsym creation" +ifeq ($(filter pkg.qoup-kernel.debug,$(DEB_BUILD_PROFILES)),) + echo "'pkg.qoup-kernel.debug' build profile disabled, skipping -dbgsym creation" else - echo "'pkg.proxmox-kernel.debug' build profile enabled, creating -dbgsym contents" + echo "'pkg.qoup-kernel.debug' build profile enabled, creating -dbgsym contents" mkdir -p debian/$(PMX_DEBUG_KERNEL_PKG)/usr/lib/debug/lib/modules/$(KVNAME) mkdir debian/$(PMX_DEBUG_KERNEL_PKG)/usr/lib/debug/boot install -m 644 $(KERNEL_SRC)/vmlinux debian/$(PMX_DEBUG_KERNEL_PKG)/usr/lib/debug/boot/vmlinux-$(KVNAME)