open-power / capiflash

Flash Acceleration with CAPI - The IBM Data Engine for NoSQL
22 stars 12 forks source link

Fix complaints about cxlfd service #13

Closed rrosatti closed 7 years ago

rrosatti commented 7 years ago

Some lintian errors/warning were fixed:

  1. 'maintscript-calls-ldconfig' and 'package-must-activate-ldconfig-trigger': remove the lines related with ldconfig in the postinstall script and create a file called triggers with "activate-noawait ldconfig" message in it.

  2. 'activate-noawait ldconfig': install the systemd service in /lib/.. instead of /usr/lib/..

  3. 'maintainer-script-calls-systemctl': systemctl was being called directly by postintall and preremove scripts. To fix that, I wrote a code based on the code generated by deb-systemd-helper/dh-systemd.

Signed-off-by: Rodrigo R. Galvao rosattig@br.ibm.com


This change is Reviewable