]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
debian: Install apparmor profiles
authorAlessandro Astone <ales.astone@gmail.com>
Sat, 12 Nov 2022 23:16:34 +0000 (00:16 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Fri, 18 Nov 2022 14:19:17 +0000 (15:19 +0100)
debian/control
debian/rules

index 9c8c3c430b73d7e07c160f752c4afdb03058d0a9..b0714347d561156476289cbff1073aeea1034ebe 100644 (file)
@@ -4,7 +4,8 @@ Section: misc
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
-               python3
+               python3,
+               dh-apparmor
 Standards-Version: 4.5.0.3
 Vcs-Browser: https://github.com/waydroid/waydroid
 Vcs-Git: https://github.com/waydroid/waydroid.git
 Standards-Version: 4.5.0.3
 Vcs-Browser: https://github.com/waydroid/waydroid
 Vcs-Git: https://github.com/waydroid/waydroid.git
index 84376f3b8df6bb2002500945f857bfb82400873a..38ff86b73e5c6de9482e9891cad16ac465a50240 100755 (executable)
@@ -5,3 +5,7 @@
 
 override_dh_auto_install:
        dh_auto_install -- SYSD_DIR=/lib/systemd/system
 
 override_dh_auto_install:
        dh_auto_install -- SYSD_DIR=/lib/systemd/system
+       $(MAKE) install_apparmor DESTDIR=$(CURDIR)/debian/waydroid
+       dh_apparmor --profile-name=adbd
+       dh_apparmor --profile-name=android_app
+       dh_apparmor --profile-name=lxc\\/lxc-waydroid