mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
143a7443c6
Upstream dropped support for RPi platform since gbm matured and is stable[1]. This package should support RPi2+ hardware. 1. https://github.com/xbmc/xbmc/pull/16321
15 lines
509 B
Text
15 lines
509 B
Text
polkit.addRule(function(action, subject) {
|
|
if (subject.user == "kodi") {
|
|
polkit.log("action=" + action);
|
|
polkit.log("subject=" + subject);
|
|
if (action.id.indexOf("org.freedesktop.login1.") == 0) {
|
|
return polkit.Result.YES;
|
|
}
|
|
if (action.id.indexOf("org.freedesktop.udisks.") == 0) {
|
|
return polkit.Result.YES;
|
|
}
|
|
if (action.id.indexOf("org.freedesktop.udisks2.") == 0) {
|
|
return polkit.Result.YES;
|
|
}
|
|
}
|
|
});
|