-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meson: Install DBus policy for the plugin interface
Signed-off-by: Vyacheslav Yurkov <[email protected]>
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE busconfig PUBLIC | ||
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||
<busconfig> | ||
<!-- This config allows anyone to control rauc --> | ||
<!-- It is usually installed to /usr/share/dbus-1/system.d --> | ||
|
||
<policy context="default"> | ||
<allow send_destination="de.pengutronix.rauc.InstallConfirmation"/> | ||
</policy> | ||
|
||
<policy user="root"> | ||
<allow own="de.pengutronix.rauc.InstallConfirmation"/> | ||
</policy> | ||
</busconfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
rauc_dbus_policy = configure_file( | ||
input : 'de.pengutronix.rauc.InstallConfirmation.conf', | ||
output : 'de.pengutronix.rauc.InstallConfirmation.conf', | ||
copy : true | ||
) | ||
install_data(rauc_dbus_policy, install_dir : dbuspolicydir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters