fg2it/grafana-on-raspberry

Request for armel packages

Closed this issue · 4 comments

a0s commented

Hi, i have Odroid XU4

Linux manager 4.14.29-125 #1 SMP PREEMPT Thu Mar 22 21:40:52 UTC 2018 armv7l armv7l armv7l GNU/Linux

Could you build an armel version of the package pls?

fg2it commented

I think you need the armhf one. Check with dpkg --print-architecture.

a0s commented

Ok, on baremetal linux i have:

> uname -p -m -i
armv7l armv7l armv7l
> dpkg --print-architecture
armhf
> dpkg -i grafana_5.0.4_armhf.deb
OK

But inside docker docker run --rm -it debian bash i got strange behaviour:

> uname -p -m -i
armv7l unknown unknown
> dpkg --print-architecture
armel
> dpkg -i grafana_5.0.4_armhf.deb
dpkg: error processing archive grafana_5.0.4_armhf.deb (--install):
 package architecture (armhf) does not match system (armel)
Errors were encountered while processing:
 grafana_5.0.4_armhf.deb

I think it something about how docker works.
Yes, it is docker bug moby/moby#34875 :(

a0s commented

Ok, i found solution - using ubuntu instead of debian

root@manager:~# dpkg --print-architecture
armhf
root@manager:~# docker run --rm -it ubuntu dpkg --print-architecture
armhf
root@manager:~# docker run --rm -it debian dpkg --print-architecture
armel
fg2it commented

if you insiste for debian, try arm32v7/debian docker image. This is the one I use for fg2it/grafana-armhf