Discussion:
[yocto] psplash wierdness
Andy Pont
2015-09-23 15:09:55 UTC
Permalink
I have spent all morning fine tuning psplash on a PXE booting system using
an NFS mounted root file system (all built with Yocto 1.8 for the
intel-core2-32 machine) and all is exactly as I need.

When I boot the system using an initrd of the same file system the first
output from the init process is:

/etc/init.d/rc: /etc/rcS.d/S00psplash.sh: line 28: can't open '/dev/null'

Line 28 of S00psplash.sh corresponds to the call to /usr/bin/psplash to
display the image to hide the init messages.

Am I being a complete numpty (highly probable) or have I missed something
about using an initrd?

Thanks,

Andy.


--
Khem Raj
2015-09-23 16:51:01 UTC
Permalink
Your initrd is missing /dev/null device it seems. You need to create it
dring build or some runtime mechanism
Post by Andy Pont
I have spent all morning fine tuning psplash on a PXE booting system using
an NFS mounted root file system (all built with Yocto 1.8 for the
intel-core2-32 machine) and all is exactly as I need.
When I boot the system using an initrd of the same file system the first
/etc/init.d/rc: /etc/rcS.d/S00psplash.sh: line 28: can't open '/dev/null'
Line 28 of S00psplash.sh corresponds to the call to /usr/bin/psplash to
display the image to hide the init messages.
Am I being a complete numpty (highly probable) or have I missed something
about using an initrd?
Thanks,
Andy.
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Andy Pont
2015-09-23 17:43:00 UTC
Permalink
Khem wrote...
Your initrd is missing /dev/null device it seems. You need to create it dring build or
some runtime mechanism
Hmmm, on further inspection it appears that in the /etc/rcS.d run level that psplash has been created as S00 while udev which is presumably going to create these devices isn't setup to be called until S04!

Bit more thought needed here...

Andy.

--

Loading...