dceejay / openwrt-node-red

A packing up of Node-RED for OpenWRT
Apache License 2.0
43 stars 13 forks source link

Error when install with image buider #5

Open storm1er opened 3 years ago

storm1er commented 3 years ago

Hi,

We can't install the package properly using image builder:

Finalizing root filesystem...
~/openwrt-imagebuilder-bcm27xx-bcm2711.Linux-x86_64/staging_dir/host/bin/sed: can't read /usr/lib/lua/luci/dispatcher.lua: No such file or directory
./usr/lib/opkg/info/node-red.postinst: line 1: /etc/init.d/node-red: No such file or directory
./usr/lib/opkg/info/node-red.postinst: line 2: /etc/init.d/node-red: No such file or directory

It may due to absolute path: with the image builder it should be relative as now /etc/init.d/node-red is ${IMAGE_BUILDER_PATH}/build_dir/target-${ARCH}/root-${TARGET}/etc/init.d/node-red

It doesn't stop the build tho... I'll try the build and come back to tell if the error if critical or not.

storm1er commented 3 years ago

The error is not critical as the built image contains a working node-red package.

I think the error should at least silenced.

dceejay commented 3 years ago

Hi - i don't use openwrt enough to really understand the issue -If you can offer a fix that would be much appreciated. Thanks

zhangguanzhang commented 2 years ago

did you resolve it?