You've already forked Raspberry-Pi-Proxmox-Image
Inital Commit
All checks were successful
Raspberry Pi Proxmox Image / Raspberry Pi Linux Sources (push) Successful in 1h35m49s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Image (Meta Package) (push) Successful in 12s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Image (push) Successful in 39s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Headers (Meta Package) (push) Successful in 11s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Headers (push) Successful in 21s
All checks were successful
Raspberry Pi Proxmox Image / Raspberry Pi Linux Sources (push) Successful in 1h35m49s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Image (Meta Package) (push) Successful in 12s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Image (push) Successful in 39s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Headers (Meta Package) (push) Successful in 11s
Raspberry Pi Proxmox Image / Raspberry Pi Proxmox Headers (push) Successful in 21s
This commit is contained in:
38
proxmox-image-rpt-rpi-v8/DEBIAN/postrm
Normal file
38
proxmox-image-rpt-rpi-v8/DEBIAN/postrm
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
||||
VERSION='6.12.47+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
|
||||
Reference in New Issue
Block a user