Skip to content
Snippets Groups Projects

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

Pipeline #3422 passed

Pipeline passed for a38957e5 on josch:fixes-BoostisBetter

Merged by minuteminute 3 weeks ago (Jan 26, 2025 10:28pm UTC)

Loading

Pipeline #3425 passed

Pipeline passed for 80e5b91b on binary-deb

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading