Support for node install on arm (raspberry pi)
See original GitHub issueDo you want to request a feature or report a bug? Request support for node install on arm (raspberry pi)
What is the current behavior? The plugin installs the wrong architecture - Intel 386, should be armv7l:
$ file node/node
node/node: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=c5aeb5fb3808fe29a1ba11d1890f1193b9680d7c, not stripped
Actual architecture:
$ uname -a
Linux raspberrypi14 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
If the current behavior is a bug, please provide the steps to reproduce. I didn’t call this a bug because I found prior reports of plugin problems on arm/raspberry pi, and it sounded like the problem was arm-pi versions of node were not being published at the time. Not sure if that is still the case (or how to check).
For reference, the error reported by the frontend plugin when trying to execute node looks like:
[ERROR] …workspace/…/webui/node/node: 1: …/workspace/…/webui/node/node: Syntax error: word unexpected (expecting “)”)
Manually trying to execute the version of node installed by the frontend plugin yields:
$ ./node/node -v
-bash: ./node: cannot execute binary file: Exec format error
What is the expected behavior? The correct version/flavor of node would be installed on the raspberry pi.
Please mention your frontend-maven-plugin and operating system version.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.6</version>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (2 by maintainers)
I pushed a couple PR’s for consideration.
The automatic builds are failing, but I don’t see how my changes could be the cause.
https://github.com/eirslett/frontend-maven-plugin/pull/705 https://github.com/eirslett/frontend-maven-plugin/pull/706
No I haven’t, I’ll check it out. I managed to extract the tar.gz UGS file onto the raspberry Pi 3 B model. I ran the usg platform shell script file located in the bin folder and that worked. Just need to get it to execute on startup now. Ive seen some information on it in a few other threads