APT repo specifically for Vero 4k packages?

Any chance of creating an APT repo specific for the various Vero boxes? For example, I just bought the Vero4k which is an amazing little box, but I’m having to build node js 7.8.0 from scratch because the binaries for arm64 from the nodejs website don’t work on the Vero 4k, and Debian isn’t managing deb packages for arm devices, so I can’t use the various nvm/n/instal.sh methods to install.

-Zac

There aren’t any plans to do this, because we are a Debian derivative and we want to stay relatively close to it. There’s also a lot of duplication of effort if we do this, and our focus is to provide a media centre with an expansive Debian system underneath.

Pick the armhf builds of Node and they will work fine without any issues. Let me know if you run in to any problems

I just ended up building it from source. Wasn’t a big deal, but would be nice to have a repo with Vero specific debian builds since there are differences.

But then I guess building for a 64bit CPU is sort of meaningless with only 2GB of RAM on board?

There aren’t any differences.
If you pick the armhf build, it will run just fine without any problems.

You probably didn’t actually built it for arm64 if you used build-essential tools, as userland on Vero 4K is armhf.

I used the instructions at:

That would have built it for ARMv7, which would be identical to what you’d find in the official Node repositories. There’s little point us duplicating this effort: which is why we don’t provide a repository for it ourselves.

Ok, stepping back I originally tried this:

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs

Which failed, because it couldn’t find the architecture matching deb directory.

Probably just need to run setarch linux32 before running the command.

Or manually add the repository to /etc/apt/sources.list.

Sam

Actually, it looks like they JUST ADDED an arm64 distro this morning at 7am. ha ha ha,

https://deb.nodesource.com/node_7.x/dists/jessie/

So I’m gonna test if it works as expected now. Sorry, I’m relearning linux after about a 15yr break!

-Zac

Cool!

But you don’t actually need an arm64 repository.
OSMC uses an armv7 repository on Vero 4K, only an aarch64 kernel. The decision was made because Jessie isn’t ready for ARM-64 yet (errata), and because we wanted to maintain compatibility with armhf which is more common.

I was just going by the the errors I was receiving from the script: https://deb.nodesource.com/setup_7.x, that being that it couldn’t find “main/binary-arm64” entries in InRelease: https://deb.nodesource.com/node_7.x/dists/jessie/InRelease

…which are there now as of 7am this morning.

I did a make uninstall on my custom build from source, then re-ran the script above and it’s working perfectly now.

I was receiving the same errors with the nvm and n tools, so now I’m gonna get if they’ll work so I can have multiple versions installed.

It’s adding the wrong repository.
I would not recommend using the ARM64 version unless you know what you’re doing.

Just add the repository to sources.list and the APT key and the armv7 version will install without issues.