From 0bedf52b9b073037a6b5b23e9dd965078344723f Mon Sep 17 00:00:00 2001 From: Yurii Kovalchuk Date: Wed, 16 Oct 2024 12:57:43 +0300 Subject: [PATCH] ATOR-PROTOCOL-100 - Workaround --- debian/install | 8 ++++++++ debian/rules | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 debian/install diff --git a/debian/install b/debian/install new file mode 100644 index 0000000000..209c3a8077 --- /dev/null +++ b/debian/install @@ -0,0 +1,8 @@ +debian/tmp/usr/bin/anon usr/bin/ +debian/tmp/usr/bin/anon-gencert usr/bin/ +debian/tmp/usr/bin/anon-print-ed-signing-cert usr/bin/ +debian/tmp/usr/bin/anon-resolve usr/bin/ +debian/tmp/usr/bin/anonify usr/bin/ +debian/tmp/usr/share/anon/geoip usr/share/anon/ +debian/tmp/usr/share/anon/geoip6 usr/share/anon/ +debian/tmp/etc/anon/anonrc.sample etc/anon/ diff --git a/debian/rules b/debian/rules index 9293b0744f..7f1a47e5c9 100755 --- a/debian/rules +++ b/debian/rules @@ -60,9 +60,10 @@ override_dh_auto_build: chmod +x debian/systemd/anon-generator override_dh_install-arch: - dh_install --fail-missing + dh_missing --list-missing - rm debian/anon/etc/anon/anonrc.sample + rm -f debian/anon/etc/anon/anonrc.sample + mkdir -p debian/anon/etc/anon/ cp build/src/config/anonrc.minimal debian/anon/etc/anon/anonrc cp debian/anon.apparmor-profile debian/anon/etc/apparmor.d/system_anon