From 5e53c58d384375deb81e0bbb9db46466962ab943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 1 Aug 2023 11:29:09 +0200 Subject: [PATCH] build transitional packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit these only need to be built and uploaded once to finish the transition.. Signed-off-by: Fabian Grünbichler --- debian/changelog | 6 ++++++ debian/control | 25 +++++++++++++++++++++++++ debian/control.in | 27 --------------------------- debian/postinst.in | 17 ----------------- debian/postrm.in | 19 ------------------- debian/source/format | 1 + 6 files changed, 32 insertions(+), 63 deletions(-) create mode 100644 debian/control delete mode 100644 debian/control.in delete mode 100755 debian/postinst.in delete mode 100755 debian/postrm.in create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog index 4c1a680..afd1267 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 01 Aug 2023 14:37:09 +0200 + pve-kernel-6.2 (8.0.4) bookworm; urgency=medium * ABI bump for 6.2.16-5-pve diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..656b0e0 --- /dev/null +++ b/debian/control @@ -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 + +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. diff --git a/debian/control.in b/debian/control.in deleted file mode 100644 index 1c8044b..0000000 --- a/debian/control.in +++ /dev/null @@ -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 - -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. diff --git a/debian/postinst.in b/debian/postinst.in deleted file mode 100755 index fc0c961..0000000 --- a/debian/postinst.in +++ /dev/null @@ -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 diff --git a/debian/postrm.in b/debian/postrm.in deleted file mode 100755 index 3b3adac..0000000 --- a/debian/postrm.in +++ /dev/null @@ -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# diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)