[config-package-dev] How to configure displace extension?

Patrick Schleizer adrelanos at riseup.net
Wed May 7 17:20:20 EDT 2014


TLDR:

Hi,

how do I configure what name the displace extension should have when
using config-package-dev with debhelper?

Must I use a make environment variable? How do I do that? Or how?

Long:

If required, below is an example package...

Package name:
apparmor-profile-anondist

Detected displace extension:
.apparmor

Wanted displace extension:
.anondist

It's a very small and simple package.

Full git repo:
https://github.com/Whonix/apparmor-profile-anondist/tree/dh_configpackage_question

debian/control:
https://github.com/Whonix/apparmor-profile-anondist/blob/dh_configpackage_question/debian/control

debian/rules:
using
DEB_DISPLACE_EXTENSION = .anondist
but somehow it's ignored.

https://github.com/Whonix/apparmor-profile-anondist/blob/dh_configpackage_question/debian/rules

Diverted file:
base.anondist

https://github.com/Whonix/apparmor-profile-anondist/tree/dh_configpackage_question/etc/apparmor.d/abstractions

debian/apparmor-profile-anondist.displace:
https://github.com/Whonix/apparmor-profile-anondist/blob/dh_configpackage_question/debian/apparmor-profile-anondist.displace

Cheers,
Patrick


More information about the config-package-dev mailing list