Files
Cantibra 652f3ac5a4
All checks were successful
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Linux Sources (push) Successful in 1h32m8s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Image (Meta Package) (push) Successful in 40s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Headers (Meta Package) (push) Successful in 13s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Image (push) Successful in 42s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Headers (push) Successful in 22s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Linux Sources (push) Successful in 1h31m15s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Image (Meta Package) (push) Successful in 14s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Headers (Meta Package) (push) Successful in 14s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Image (push) Successful in 47s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Headers (push) Successful in 33s
Initialize Git Repository: 'Raspberry-Pi-Proxmox-Image'
2026-01-26 06:10:35 +01:00

39 lines
1.3 KiB
Bash

#!/usr/bin/sh
set -e
set -u
VERSION='x.x.x+rpt-rpi-v8'
IMAGE_PATH="/boot/vmlinuz-${VERSION}"
/usr/bin/rm --force "/lib/modules/${VERSION}/.fresh-install"
case "${1}" in
remove)
if command -v linux-update-symlinks > '/dev/null'; then
/usr/bin/linux-update-symlinks remove "${VERSION}" "${IMAGE_PATH}"
fi
;;
purge)
if command -v linux-update-symlinks > '/dev/null'; then
/usr/bin/linux-update-symlinks remove "${VERSION}" "${IMAGE_PATH}"
fi
for EXTRA_FILE in modules.dep modules.isapnpmap modules.pcimap \
modules.usbmap modules.parportmap \
modules.generic_string modules.ieee1394map \
modules.ieee1394map modules.pnpbiosmap \
modules.alias modules.ccwmap modules.inputmap \
modules.symbols modules.ofmap \
modules.seriomap modules.\*.bin \
modules.softdep modules.weakdep modules.devname; do
eval /usr/bin/rm --force "/lib/modules/${VERSION}/${EXTRA_FILE}"
done
/usr/bin/rm --force --recursive "/lib/modules/${VERSION}"
;;
esac
if [ -d '/etc/kernel/postrm.d' ]; then
DEB_MAINT_PARAMS="${*}" run-parts --report --exit-on-error --arg="${VERSION}" \
--arg="${IMAGE_PATH}" '/etc/kernel/postrm.d'
fi