build transitional packages

these only need to be built and uploaded once to finish the transition..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2023-08-01 11:29:09 +02:00
parent f8c8dc47d4
commit 5e53c58d38
6 changed files with 32 additions and 63 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pve-kernel-6.2 (8.0.5) bookworm; urgency=medium
* switch pve-kernel-6.2/pve-headers-6.2 to transitional packages
-- Proxmox Support Team <support@proxmox.com> Tue, 01 Aug 2023 14:37:09 +0200
pve-kernel-6.2 (8.0.4) bookworm; urgency=medium pve-kernel-6.2 (8.0.4) bookworm; urgency=medium
* ABI bump for 6.2.16-5-pve * ABI bump for 6.2.16-5-pve

25
debian/control vendored Normal file
View File

@ -0,0 +1,25 @@
Source: pve-kernel-6.2
Section: admin
Priority: optional
Build-Depends: debhelper-compat (= 13),
lintian
Standards-Version: 4.6.2
Maintainer: Proxmox Support Team <support@proxmox.com>
Package: pve-kernel-6.2
Architecture: all
Depends: proxmox-kernel-6.2,
${misc:Depends},
Section: oldlibs
Description: Proxmox Kernel Image for 6.2 series (transitional package)
This is a dummy transitional package to transition to proxmox-default-headers.
It can be safely removed.
Package: pve-headers-6.2
Architecture: all
Depends: proxmox-headers-6.2,
${misc:Depends},
Section: oldlibs
Description: Proxmox Kernel Headers for 6.2 series (transitional package)
This is a dummy transitional package to transition to proxmox-default-headers.
It can be safely removed.

27
debian/control.in vendored
View File

@ -1,27 +0,0 @@
Source: pve-kernel-@KERNEL_VER@
Section: admin
Priority: optional
Build-Depends: debhelper-compat (= 13), lintian,
Standards-Version: 4.6.2
Maintainer: Proxmox Support Team <support@proxmox.com>
Package: pve-headers-@KERNEL_VER@
Architecture: all
Section: admin
Provides: linux-headers-amd64, linux-headers-generic,
Priority: optional
Depends: pve-headers-@KERNEL_ABI@, ${misc:Depends},
Description: Latest Proxmox VE Kernel Headers
This is a metapackage which will install the kernel headers
for the latest available proxmox kernel from the @KERNEL_VER@
series.
Package: pve-kernel-@KERNEL_VER@
Architecture: all
Section: admin
Provides: linux-image-amd64, linux-image-generic, wireguard-modules (=1.0.0),
Priority: optional
Depends: pve-firmware, pve-kernel-@KERNEL_ABI@, ${misc:Depends},
Description: Latest Proxmox VE Kernel Image
This is a metapackage which will install the latest available
proxmox kernel from the @KERNEL_VER@ series.

17
debian/postinst.in vendored
View File

@ -1,17 +0,0 @@
#! /bin/sh
# Abort if any command returns an error value
set -e
case "$1" in
configure)
# setup kernel links for installation CD (rescue boot)
mkdir -p /boot/pve
ln -sf /boot/vmlinuz-@KERNEL_ABI@ /boot/pve/vmlinuz-@KERNEL_VER@
ln -sf /boot/initrd.img-@KERNEL_ABI@ /boot/pve/initrd.img-@KERNEL_VER@
;;
esac
#DEBHELPER#
exit 0

19
debian/postrm.in vendored
View File

@ -1,19 +0,0 @@
#! /bin/sh
# Abort if any command returns an error value
set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# remove kernel symlinks
rm -f /boot/pve/vmlinuz-@KERNEL_ABI@
rm -f /boot/pve/initrd.img-@KERNEL_ABI@
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)