#!/bin/sh set -e # Pass maintainer script parameters to hook scripts export DEB_MAINT_PARAMS="$*" # Tell initramfs builder whether it's wanted export INITRD=Yes test -d /etc/kernel/postinst.d && run-parts --arg="5.10.35-wb172" --arg="/boot/vmlinuz-5.10.35-wb172" /etc/kernel/postinst.d ln -sf /boot/vmlinuz-5.10.35-wb172 /boot/zImage > /dev/null 2>&1 || mv /boot/vmlinuz-5.10.35-wb172 /boot/zImage touch /boot/.next exit 0