Very interesting findings here.
To check the sequence off enigma2 start, (yes i finnally found where it is) and this obviousely not thank's to the very helpfull pli4 team which off course nows that but clearly does not give a shit about gstreamer 1.0.
I just removed out off /etc/inittab entry
gui:3:respawn:/usr/bin/enigma2.sh
Created a enigma start deamon and set it in /etc/init.d named enigma2.init whit exe flag enabled.
the deamon code :
#!/bin/sh
DAEMON=/usr/bin/enigma2.sh
NAME=enigma2
DESC="ENIGMA2 deamon"
PIDFILE=/var/run/enigma2.pid
ARGS=""
test -f $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
cd /home/root
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $ARGS
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON
echo "."
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit 0
Then added a link to /etc/rc3.d called S99enigma2.init (I even set the S98rmnologin.sh) so to have really enigma2 as latest deamon to start.
No luck same issue.
after init 4 then init 3 .cache is created in / map. I even cleaned all caches did a hard reboot after all was cleaned (init 4 all caches cleaned and deleted from flash ) reboot by power of then on . again .cache set in /
Conclussion it is not really realtad to pli4 it is a linux issue. I remeber having a simillar issue with start off proftpd on a linux system during boot. But also some other deamons. It's related to a user issue in linux.
And You will not have this problem with kernels lower then 2.6.34 (if i'm not wrong it's about the kernel version where such things started)
That's why like for example ubuntu uses upstart for some deamons which needs to be loaded during boot.
We could solve this issue by.
Indeed since it seems not to be needed not load gstreamer at enigma2 start but only load it from the first media which needs it. It just will induce a couple off seconds delay by the very first media which needs gstreamer.