volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 102 forks source link

[volumioOS] build failure for 'raspberry' device #437

Closed xipmix closed 3 years ago

xipmix commented 3 years ago

I tried this

# ./build.sh -b arm -d raspberry -v buster

and got a fair way but it falls over here

[ ---- ] Using a compatible nodejs version for all pi images  
[ -- ] Removing previous nodejs installation from /usr/bin/node  
[ ---- ] Removing Node v8.17.0 arm_version: 6  
...
dpkg: error: cannot access archive '/volumio/customNode/nodejs_*-1unofficial_armv6l.deb': No such file or directory
[ error ] Imagebuilder script failed!! 
[ -- ] Cleaning up image_tmp mounts  
[ -- ] Unmounting chroot temporary devices at /mnt/volumio/rootfs  
[ .. ] Cleaning loop device /dev/loop3 [ /dev/loop3: [2049]:9204885521 (/data/mevolumio/forks/Build/Volumio-buster-2021-01-10-raspberry.img) ] 
[ .. ] Deleting image file  

build.sh seems not to have populated /volumio/customNode. The code in build.sh uses the variables USE_NODE_ARMV6 and the first element of the NODE_VERSION variables to decide if it's going to do that. The version is 8.17.0 so the last criterion matches. I set DEVICE to raspberry so the first criterion matchies, But USE_NODE_ARMV6 is a bit of a puzzle.

It gets defaulted to yes in build.sh if it is not set, but it seems to also be defaulted to yes in recipes/devices/raspberry.sh. I notice it uses NODE_VERSION directly there, so the two decisions are potentially inconsistent with each other.

After a bit of inspection it seems that one has to manually download the relevant .deb and save it in a local directory. Questions:

xipmix commented 3 years ago

closing, duplicate.