Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

templates: extend support for Project Treble ODM partitions #4

Merged
merged 4 commits into from Mar 18, 2019

Conversation

fredldotme
Copy link
Contributor

@fredldotme fredldotme commented Sep 13, 2018

This is the bare minimum required for devices using the
/odm partition and subdirectory scheme, like the Sony Loire
platform of devices (Xperia X) to run click applications.

Extending by other packaging mechanisms (....snap) might require upstream
communication, but it's not a necessity to properly account for
device specific integration and extension of default AppArmor access rules.
Sooner or later we might have to change defaults due to the nature of device-specific quirks.

This is the bare minimum required for devices using the
/odm partition and subdirectory scheme, like the Sony Loire
platform of devices (Xperia X).
Extend ubuntu-webapp and ubuntu-sdk Ubuntu Click Package AppArmor policies to include libraries from /odm/lib{,64} as well.
@fredldotme
Copy link
Contributor Author

Long-term I'd suggest adding the /odm library partitions to the apparmors "abstraction/base". If the directories can be included from /system/halium that would additionally allow to load device-specific permission overrides.

@UniversalSuperBox UniversalSuperBox merged commit 105c834 into ubports:xenial Mar 18, 2019
@Flohack74
Copy link
Member

Shouldnt there be changes in 16.04 files also?

@UniversalSuperBox
Copy link
Member

Most files are symlinks to the older files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants