debian-meta/etc/kernel/postinst.d/reform-qcacld2: abort running postinst hook if reform-qcacld2-*-mnt-reform-arm64 is not installed
This script lives in /etc and is as such a config file and will not get removed (unless with --purge) when the user uninstalls the reform-qcacld2 package. To avoid re-installing reform-qcacld2 even though the user has removed it, check here if the kernel module provided by the package reform-qcacld2-*-mnt-reform-arm64 is actually installed. If not, we do not need to and should not proceed.
These issues were discovered when debugging with BoostisBetter. This MR tries to make sure others do not run into the same problems.
Merge request reports
Activity
Filter activity
added 7 commits
- 11a5ae7b - .gitlab-ci.yml: switch from bullseye to bookworm
- 97cacf33 - .gitlab-ci.yml: make script verbose
- c183fb9d - .gitlab-ci.yml: switch branch from pocket-imx8mp-release to main
- 3aca021d - .gitlab-ci.yml: kernel flavour name is now mnt-reform-arm64
- 565c03bf - .gitlab-ci.yml: avoid cd
- eb341156 - debian-meta/etc/kernel/postinst.d/reform-qcacld2: abort running postinst hook...
- a38957e5 - debian-meta/etc/kernel/postinst.d/reform-qcacld2: recommend...
Toggle commit listmentioned in commit 80e5b91b
Please register or sign in to reply