d/control: automatically replace linux tools maj.min version

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-05-30 08:01:14 +02:00
parent 875f9e81f4
commit 73cf4c7faf
2 changed files with 3 additions and 3 deletions

4
debian/control.in vendored
View File

@ -18,14 +18,14 @@ Build-Conflicts: pve-headers-@KVNAME@,
Vcs-Git: git://git.proxmox.com/git/pve-kernel Vcs-Git: git://git.proxmox.com/git/pve-kernel
Vcs-Browser: https://git.proxmox.com/?p=pve-kernel.git Vcs-Browser: https://git.proxmox.com/?p=pve-kernel.git
Package: linux-tools-4.15 Package: linux-tools-@KVMAJMIN@
Architecture: any Architecture: any
Section: devel Section: devel
Priority: optional Priority: optional
Depends: linux-base, Depends: linux-base,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
Description: Linux kernel version specific tools for version 4.15 Description: Linux kernel version specific tools for version @KVMAJMIN@
This package provides the architecture dependent parts for kernel This package provides the architecture dependent parts for kernel
version locked tools (such as perf and x86_energy_perf_policy) version locked tools (such as perf and x86_energy_perf_policy)

2
debian/rules vendored
View File

@ -64,7 +64,7 @@ debian/control: $(wildcard debian/*.in)
chmod +x debian/${PVE_KERNEL_PKG}.postrm chmod +x debian/${PVE_KERNEL_PKG}.postrm
chmod +x debian/${PVE_KERNEL_PKG}.postinst chmod +x debian/${PVE_KERNEL_PKG}.postinst
chmod +x debian/${PVE_HEADER_PKG}.postinst chmod +x debian/${PVE_HEADER_PKG}.postinst
sed -e 's/@KVNAME@/${KVNAME}/g' < debian/control.in > debian/control sed -e 's/@KVNAME@/${KVNAME}/g' -e 's/@KVMAJMIN@/${KERNEL_MAJMIN}/g' < debian/control.in > debian/control
build: .compile_mark .tools_compile_mark .modules_compile_mark build: .compile_mark .tools_compile_mark .modules_compile_mark