applications should be installed in /opt, not /usr

Bug #1197037 reported by Jamie Strandboge on 2013-07-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
[obsolete] Ubuntu QtCreator Plugins
Undecided
Unassigned
apparmor-easyprof-ubuntu (Ubuntu)
Undecided
Unassigned
click (Ubuntu)
Undecided
Unassigned

Bug Description

Currently the SDK installs applications in /usr. This is fine for traditional Ubuntu packaging for now, but with the move to Click packages, these paths will be:

/opt/click.ubuntu.com/<app_pkname>/<app_version>/

where <app_pkgname> is the reverse domain name. Eg:
com.ubuntu.developer.appdev_username.appname

The above path and the format of the <app_pkgname> is finalized and used by apparmor, click, the click server, and application lifecycle (ie, desktop files) in various ways. The "app_pkgname" is set via the "name" field in the click manifest. All that's left is for the SDK apps to incorporate these changes as needed (eg, for their readable and writable directories).

Note: /opt/click.ubuntu.com should not be harcoded anywhere. While it is the current location, it is configurable and one of several locations for click packages on the system.

description: updated
description: updated
tags: added: application-confinement
description: updated
Changed in apparmor-easyprof-ubuntu (Ubuntu):
status: New → Fix Released
Changed in click (Ubuntu):
status: New → Fix Released
description: updated
Zoltan Balogh (bzoltan) on 2013-08-30
Changed in ubuntu-qtcreator-plugins:
status: New → Fix Released
Jamie Strandboge (jdstrand) wrote :

Updated the description to make clarify we are talking about the app_pkgname (ie, the "name" field in the click manifest), not the APP_ID that is used by apparmor, application lifecycle, etc.

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers