mod for buster
This commit is contained in:
parent
17f6617532
commit
021b5face2
9
debian/rules
vendored
9
debian/rules
vendored
@ -77,8 +77,6 @@ override_dh_auto_configure: gencontrol
|
|||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
echo "systemdsystemunitdir=$(systemdsystemunitdir)" >> debian/substvars
|
|
||||||
|
|
||||||
dh_auto_install --max-parallel=1
|
dh_auto_install --max-parallel=1
|
||||||
|
|
||||||
ifneq ($(ONLY_CLIENT), 1)
|
ifneq ($(ONLY_CLIENT), 1)
|
||||||
@ -115,6 +113,12 @@ endif
|
|||||||
override_dh_missing:
|
override_dh_missing:
|
||||||
dh_missing --fail-missing
|
dh_missing --fail-missing
|
||||||
|
|
||||||
|
# Generate .install files from templates with correct systemdsystemunitdir
|
||||||
|
override_dh_install:
|
||||||
|
sed "s|@systemdsystemunitdir@|$(systemdsystemunitdir)|g" debian/freeipa-client-epn.install.in > debian/freeipa-client-epn.install
|
||||||
|
dh_install
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(ONLY_CLIENT), 1)
|
ifneq ($(ONLY_CLIENT), 1)
|
||||||
override_dh_installsystemd:
|
override_dh_installsystemd:
|
||||||
dh_installsystemd -pfreeipa-server --no-enable ipa.service
|
dh_installsystemd -pfreeipa-server --no-enable ipa.service
|
||||||
@ -133,7 +137,6 @@ override_dh_fixperms:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
override_dh_gencontrol:
|
override_dh_gencontrol:
|
||||||
echo "systemdsystemunitdir=$(systemdsystemunitdir)" >> debian/substvars
|
|
||||||
dh_gencontrol -- \
|
dh_gencontrol -- \
|
||||||
-Vlib:Depends=$(shell dpkg-query -W -f '$${Depends}' librpm-dev \
|
-Vlib:Depends=$(shell dpkg-query -W -f '$${Depends}' librpm-dev \
|
||||||
| sed -E 's/.*(librpm[[:alnum:].-]+).*/\1/')
|
| sed -E 's/.*(librpm[[:alnum:].-]+).*/\1/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user