← Back to team overview

ubuntu-phone team mailing list archive

Re: Click packages for more than one architecture

 

On 12/17/2013 04:31 AM, Daniel Holbach wrote:
> Hello,
> 
> On 17.12.2013 10:13, Daniel Holbach wrote:
>> Were there some discussion or does anyone have thoughts about:
>>
>>  - Where we expect binaries or modules (for both QML and HTML5 apps)
>>    to live, for a case of multiple architectures in one click?
>>  - How apparmor (and friends) will deal with this?
>>  - Which impact it's going to have on Unity and upstart-app-launch?
>>  - Which changes will have to be made for our development tools?
>>  - Which review tests we want to implement?
>>  - <Your other open questions here.>
> 
> Colin pointed out that we already had a discussion about this on the
> ubuntu-appstore-developers list and he was right.
> 
> [1] has a lot of the details and it seems like with [2] Ted is working
> on getting the upstart-app-launch bits resolved.
> 
> Are there any other outstanding work items regarding this work? Do the
> apparmor tools need tweaks? How about Unity? The SDK?
> 
The apparmor policy already allows for loading libraries under the install
directory, so there should be no adjustments needed for policy. aa-exec-click
needs to follow upstart-app-launch for updating LD_LIBRARY_PATH and
QML2_IMPORT_PATH, but I'm not sure how to do that yet. upstart-app-launch uses
dpkg-architecture -qDEB_BUILD_MULTIARCH to generate the triplet during the
build, but I need to determine the triplet at runtime because click-apparmor is
'Architecture: all' (and therefore I can't set it during the build), and I'm not
sure yet how to properly find the triplet at runtime on the readonly image yet.
Suggestions welcome-- I just don't want to repeat the logic in dpkg-architecture
if I don't have to.

-- 
Jamie Strandboge                 http://www.ubuntu.com/

Attachment: signature.asc
Description: OpenPGP digital signature


References