(
sleep 5
) &
/storage/.kodi/myscript.sh &
This doesn't make much sense because sleep is executed in background and myscript is executed at the same time.
(
sleep 5
) &
/storage/.kodi/myscript.sh &
This doesn't make much sense because sleep is executed in background and myscript is executed at the same time.
True, PATH can't be set here because it is overwritten later.
But bin folder from addon is automatically add to it. So move everything under /storage/.kodi/addons/node.js folder.
My all commands to make it happen:
mkdir -p /storage/.kodi/addons/node.js/profile.d
cd /storage/.kodi/addons/node.js
echo "export NODEJS_HOME=/storage/.kodi/addons/node.js" >profile.d/node.js.profile
wget https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-armv6l.tar.xz
tar --strip-components=1 -xf node-v10.15.3-linux-armv6l.tar.xz
rm node-v10.15.3-linux-armv6l.tar.xz
# exit terminal and login again
LibreELEC:~ # node -v
v10.15.3
LibreELEC:~ # ls -al $NODEJS_HOME
total 153
drwxr-xr-x 7 root root 1024 Apr 17 08:35 .
drwxr-xr-x 45 root root 3072 Apr 17 08:35 ..
drwxrwxr-x 2 500 500 1024 Apr 17 08:35 bin
-rw-rw-r-- 1 500 500 53097 Mar 5 16:53 CHANGELOG.md
drwxrwxr-x 3 500 500 1024 Apr 17 08:35 include
drwxrwxr-x 3 500 500 1024 Apr 17 08:35 lib
-rw-rw-r-- 1 500 500 65839 Mar 5 16:53 LICENSE
drwxr-xr-x 2 root root 1024 Apr 17 08:35 profile.d
-rw-rw-r-- 1 500 500 26697 Mar 5 16:53 README.md
drwxrwxr-x 5 500 500 1024 Apr 17 08:35 share
Display More
The usb creator creates an installation usb not an OS. Then you boot from it and install to the HDD.
If you change in file syslinux.cfg line DEFAULT installer to DEFAULT run it will run from this same stick. and no need to install it anywhere.
Create file /storage/.kodi/addons/http://node.js/profile.d/node.js.profile and put both export variables NODEJS_HOME and PATH inside.
This doesn't work even within the same bash script; it says node can't be found.
What is the exact error?
And isn't S912 just arm (32 bit)?
Pay attention. To properly boot the system to SD card on Odroid N2 you need to switch the startup u-boot was installed on SD\eMMC. (that is, the position that is used in the release of equipment from the plant).
I know this is Google translate but come on ![]()
I don't know anyone who would have QP.
Maybe in 2 or 3 years there will be something ![]()
But thank you for your work anyway.
Maybe you need to change User-Agent in Chrome?
As written here MariaDB mysql server addon
QuoteKodi user can't connect on localhost but only on real ip address. That's why you need to use -h parameter
mysql -u kodi -p -h <real ip address of the server>
Ignore PID file error.
Enable "Wait for network": LibreELEC Settings [LibreELEC.wiki]
And I think this is not legal playlist?
Now I see the difference:
LibreELEC-Odroid_C2.aarch64-8.2.5.img.gz
ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.7.0, stripped
LibreELEC-Odroid_C2.arm-9.0.1.img.gz
ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.2.0, stripped
So just build addon correctly and it will work again in LE 9 too ![]()
this did not worked but my 2to3 version was from a 3.x python...
Python libs are needed and not this binary.
syntax error: unexpected word (expecting ")")
This means you are using binary for wrong architecture.
I already did try to rebuild (as aarch64). Should that be aarch32? At least uname says aarch64.
When you build addon you need to set ARCH=arm. Because only kernel is 64 bit but userspace is 32 bit.