/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-runner.conf

  • Committer: Teddy Hogeborn
  • Date: 2024-09-08 07:04:52 UTC
  • Revision ID: teddy@recompile.se-20240908070452-oyxj1zojswt0aft5
Fix #1069689 by using pkg-config in debian/rules

The directory for systemd unit files (output of "pkg-config systemd
--variable=systemdsystemunitdir") has changed.  But there was a
hardcoded instance of this directory in debian/mandos.dirs.  Fix this
by removing the directory from debian/mandos.dirs, and instead
creating the correct directory explicitly in debian/rules.

* debian/mandos.dirs (lib/systemd/system): Removed.
* debian/rules (PKG_CONFIG): New; copied from Makefile.
  (override_dh_installdirs-indep): New; run dh_installdirs twice:
  first normally, and again for the systemd unit file directory.

Closes: #1069689
Reported-By: Helmut Grohne <helmut@subdivi.de>
Thanks: Helmut Grohne <helmut@subdivi.de> for report and analysis

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## This is the configuration file for plugin-runner.  It should be
2
 
## installed as "/etc/mandos/plugin-runner.conf", which will be copied
3
 
## to "/conf/conf.d/mandos/plugin-runner.conf" in the initrd.img file.
 
1
## This is the configuration file for plugin-runner(8mandos).  This
 
2
## file should be installed as "/etc/mandos/plugin-runner.conf", and
 
3
## will be copied to "/conf/conf.d/mandos/plugin-runner.conf" in the
 
4
## initrd.img file.
4
5
##
5
6
## After editing this file, the initrd image file must be updated for
6
7
## the changes to take effect!