autopilot-touch/apparmor/click.rules need a new home, but where?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopilot (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
click-apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
phablet-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-meta (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
autopilot-
At the moment click.rules is executed by phablet-config on the touch image:
<xnox> def _handle_
<xnox> if args.dbus_probe == 'enable':
<xnox> rfile = '/usr/share/
<xnox> adb.shell(
<xnox> else:
<xnox> adb.shell(
The file itself is at the moment shipped by package autopilot-touch -> which is an unfortunate meta-package which really has no valid reasons to exist, e.g. all those dependencies are seeded in ubuntu-touch seed anyway.
The name of the rules file is also a bit missleading, it would be better named dbus-autopilot or some such.
Depending on what we choose to do autopilot, phablet-tools, click-apparmor, may need to change.
option1: move /usr/share/
option2: ship a new rules file in click-apparmor package (e.g. usr/share/
option3: have python-autopilot ship python-
option4: simply make python3-autopilot ship that rules file, in that same location.
option5: use some other mechanism to ship equivalent click.rules, but disabled by default, and calls to enable/disable it.
Or any other options that you may suggest
for reference here is the contents of the click.rules:
dbus (receive, send)
bus=session
path=
Related branches
- Dimitri John Ledkov: Disapprove
-
Diff: 11 lines (+0/-1)1 file modifiedtouch (+0/-1)
Proposed option1