From 68ccf46e44e12df2b007ede5d9da426e21102629 Mon Sep 17 00:00:00 2001 From: wangsong Date: Mon, 29 Aug 2022 11:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E7=B3=BB=E7=BB=9F=E7=9A=84dbus?= =?UTF-8?q?=E5=81=9A=E5=87=BA=E7=AE=A1=E6=8E=A7=EF=BC=8C=E5=8F=AA=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E5=8F=AF=E4=BB=A5=E8=B0=83=E7=94=A8=E7=9A=84=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E6=9D=A5=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/data/com.kylin.systemupgrade.limit | 12 ++++++++++++ debian/kylin-system-updater.install | 1 + 2 files changed, 13 insertions(+) create mode 100755 backend/data/com.kylin.systemupgrade.limit diff --git a/backend/data/com.kylin.systemupgrade.limit b/backend/data/com.kylin.systemupgrade.limit new file mode 100755 index 0000000..f4654f1 --- /dev/null +++ b/backend/data/com.kylin.systemupgrade.limit @@ -0,0 +1,12 @@ +[whitelist] +key1 = /usr/bin/kylin-background-upgrade +key2 = /usr/bin/ukui-control-center +key3 = /usr/bin/kylin-installer +key4 = /usr/bin/kylin-uninstaller +key5 = /usr/bin/kylin-software-properties-service +key6 = /usr/bin/kylin-source-update +key7 = /usr/bin/kylin-source-manager +key8 = /usr/bin/kylin-unattended-upgrade +key9 = /usr/bin/kylin-software-center +key10 = /usr/bin/kylin-printer +key11 = /usr/bin/kylin-printer-applet diff --git a/debian/kylin-system-updater.install b/debian/kylin-system-updater.install index 27d120d..ad9aa0c 100644 --- a/debian/kylin-system-updater.install +++ b/debian/kylin-system-updater.install @@ -4,6 +4,7 @@ backend/data/kylin-system-updater.db /usr/share/kylin-system-updater/ backend/report-updater-bug /usr/bin backend/data/30kylin-system-updater /etc/apt/apt.conf.d/ backend/data/com.kylin.systemupgrade.conf /etc/dbus-1/system.d/ +backend/data/com.kylin.systemupgrade.limit /etc/dbus-1/conf/ backend/data/kylin-system-updater.service /usr/lib/systemd/system/ backend/data/kylin-logout-required /usr/share/kylin-system-updater/ backend/data/kylin-reboot-required /usr/share/kylin-system-updater/