You've already forked Raspberry-Pi-Proxmox-Image
All checks were successful
Raspberry Pi Proxmox Image / Raspberry Pi Linux Sources (Bookworm) [arm64] (push) Successful in 1h34m19s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Image (Meta Package) (Bookworm) [arm64] (push) Successful in 12s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Image (Bookworm) [arm64] (push) Successful in 37s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Headers (Meta Package) (Bookworm) [arm64] (push) Successful in 11s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Headers (Bookworm) [arm64] (push) Successful in 21s
22 lines
372 B
Bash
22 lines
372 B
Bash
#!/usr/bin/sh
|
|
|
|
set -e
|
|
set -u
|
|
|
|
VERSION='6.12.47+rpt-rpi-v8'
|
|
IMAGE_PATH="/boot/vmlinuz-${VERSION}"
|
|
|
|
case "${1}" in
|
|
remove)
|
|
exit 0
|
|
;;
|
|
*)
|
|
/usr/bin/linux-check-removal "${VERSION}"
|
|
;;
|
|
esac
|
|
|
|
if [ -d '/etc/kernel/prerm.d' ]; then
|
|
DEB_MAINT_PARAMS="${*}" run-parts --report --exit-on-error --arg="${VERSION}" \
|
|
--arg="${IMAGE_PATH}" '/etc/kernel/prerm.d'
|
|
fi
|