From 822eb59c9f154c0a2c9f23f01fc811be6e150bc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= <frederic.danis@collabora.com>
Date: Thu, 19 Dec 2019 11:12:52 +0100
Subject: [PATCH] AppArmor: Fix conflict with chaiwala-apparmor-profiles
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Updating fails with the following error:
dpkg: error processing archive /var/cache/apt/archives/systemd_241-7~deb10u1co3bv2021dev0b3_amd64.deb (--unpack):
 trying to overwrite '/etc/apparmor.d/lib.systemd.systemd-logind', which is also in package chaiwala-apparmor-profiles 1.2019.2bv2021dev0b1

Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
---
 debian/control | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index 3f1b0191..94055552 100644
--- a/debian/control
+++ b/debian/control
@@ -85,7 +85,9 @@ Breaks: apparmor (<< 2.9.2-1),
         laptop-mode-tools (<< 1.68~),
         python-dbusmock (<< 0.18),
         python3-dbusmock (<< 0.18),
+        chaiwala-apparmor-profiles (<< 1.2019.3),
 Replaces: udev (<< 228-5),
+          chaiwala-apparmor-profiles (<< 1.2019.3),
 Description: system and service manager
  systemd is a system and service manager for Linux. It provides aggressive
  parallelization capabilities, uses socket and D-Bus activation for starting
-- 
GitLab