Anyone successfuly install hyperion (Hyperion - Forum) on RetroELEC?
I used this community release of LE years ago and Hyperion works as a charm on it. Now I get errors during installation:
Code
retroelec:~ # sh ./install_hyperion.sh
*******************************************************************************
This script will install/update Hyperion Ambient Light
Created by brindosch - hyperion-project.org - the official Hyperion source.
*******************************************************************************
---> Stop Hyperion, if necessary
---> Install/Update Hyperion dependencies (This may take a while)
There is no working 'apt-get'.
'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.
With LibreELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.
Also Ubuntu or Debian packages are often outdated and not compatible
with LibreELEC
TIP: use Kodi's addon browser to enhance your LibreELEC system
grep: /boot/config.txt: No such file or directory
---> Raspberry Pi found, but SPI is not set, we write "dtparam=spi=on" to /boot/config.txt
sed: /boot/config.txt: No such file or directory
---> Downloading the appropriate Hyperion release
Connecting to sourceforge.net (216.105.38.13:443)
Connecting to sourceforge.net (216.105.38.13:443)
Connecting to sourceforge.net (216.105.38.13:443)
Connecting to downloads.sourceforge.net (216.105.38.13:443)
Connecting to netix.dl.sourceforge.net (87.121.121.2:443)
writing to stdout
tar: can't create directory 'hyperion/': Read-only file system
tar: can't remove old file hyperion/: Read-only file system
chmod: /usr/share/hyperion/bin: No such file or directory
ln: /usr/bin/hyperiond: Read-only file system
ln: /usr/bin/hyperion-remote: Read-only file system
ln: /usr/bin/hyperion-v4l2: Read-only file system
---> Installing systemd script
cp: invalid option -- 'n'
BusyBox v1.32.0.git (2020-03-06 01:32:41 CET) multi-call binary.
Usage: cp [OPTIONS] SOURCE... DEST
Copy SOURCE(s) to DEST
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
-T Treat DEST as a normal file
-u Copy only newer files
Failed to enable unit: Unit file hyperion.service does not exist.
rm: can't remove '/usr/share/hyperion/services': No such file or directory
---> Starting Hyperion
Failed to start hyperion.service: Unit hyperion.service not found.
Display More
I noticed that installer didn't properly recognized OS because of that code:
Code
# Find out if we are on OpenElec (Rasplex) / OSMC / Raspbian
OS_OPENELEC=`grep -m1 -c 'OpenELEC\|RasPlex\|LibreELEC\|OpenPHT\|PlexMediaPlayer' /etc/issue`
OS_LIBREELEC=`grep -m1 -c 'LibreELEC' /etc/issue`
OS_RASPLEX=`grep -m1 -c RasPlex /etc/issue`
OS_OSMC=`grep -m1 -c OSMC /etc/issue`
OS_RASPBIAN=`grep -m1 -c 'Raspbian\|RetroPie' /etc/issue`
So I manually added \|RetroELEC to first two lines and now installer is properly recognizing OS and installation is now running succesful but starting hyperion service deamon is crashing video output and ambilight doesnt work at all.
I hope someone will help me
EDIT:
How unlock /etc for writing in RetroELEC? Maybe that will help me