arm architecture support example
Oliver Grawert
ogra at ubuntu.com
Tue Jan 26 19:31:34 UTC 2016
hi,
Am Montag, 25. Januar 2016 16:42:03 CET schrieb Luca Capra:
> Dear,
> do you know if there is preferred approach to snap packaging over
> multi-architecure?
>
> I mean, is it preferred to have many snap per architecture or one that
> handle internally the arch as you did for your grafana?
>
What I usually do if I want a multi arch snap is to have one subdir per
binary arch in my snap and use wrapper scripts for executables and services
that set PATH and LD_LIBRARY_PATH based on the value of "uname -m"... But
this is:
a) not easily doable with snapcraft which makes maintaining the package a
lot more work
and...
b) results in gigantic snaps that waste the users diskspace
So while you have the freedom to build such snaps today it is practically a
lot of extra work... I personally resorted to just apped the architecture
name to the snap name and maintain multiple store entries til the store
actually supports multiple binary snaps for a single store entry under the
same name.
ciao
.. oli
--
Sent using Dekko from my Ubuntu device
More information about the snappy-app-devel
mailing list