Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
4c92625c
Commit
4c92625c
authored
Aug 17, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
phone, phone.mk: replace 60-mobile.rules to polkit-rule-mobile package
parent
187ccbd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
phone.mk
conf.d/phone.mk
+1
-0
60-mobile.rules
...n/phone/rootfs/files/etc/polkit-1/rules.d/60-mobile.rules
+0
-13
No files found.
conf.d/phone.mk
View file @
4c92625c
...
...
@@ -11,6 +11,7 @@ mixin/phone-base: use/ntp/chrony use/repo use/branding/notes \
use/deflogin/root use/l10n/ru_RU use/xdg-user-dirs
@$(call add,THE_BRANDING,notes indexhtml)
@$(call add,THE_LISTS,mobile/base)
@$(call add,THE_PACKAGES,polkit-rule-mobile)
@$(call add,USERS,altlinux:271828:1:1)
@$(call set,LOCALES,ru_RU en_US)
@$(call set,LOCALE,ru_RU)
...
...
features.in/phone/rootfs/files/etc/polkit-1/rules.d/60-mobile.rules
deleted
100644 → 0
View file @
187ccbd2
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.ModemManager1.Contacts" ||
action.id == "org.freedesktop.ModemManager1.Device.Control" ||
action.id == "org.freedesktop.ModemManager1.Location" ||
action.id == "org.freedesktop.ModemManager1.Messaging" ||
action.id == "org.freedesktop.ModemManager1.Time" ||
action.id == "org.freedesktop.ModemManager1.USSD" ||
action.id == "org.freedesktop.ModemManager1.Voice" ||
action.id == "org.freedesktop.NetworkManager.settings.modify.system")
{
return polkit.Result.YES;
}
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment