diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-core/psplash/files/psplash-init | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/psplash/files/psplash-init')
| -rw-r--r-- | meta/recipes-core/psplash/files/psplash-init | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init deleted file mode 100644 index 69496a48bf..0000000000 --- a/meta/recipes-core/psplash/files/psplash-init +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | ### BEGIN INIT INFO | ||
| 3 | # Provides: psplash | ||
| 4 | # Required-Start: | ||
| 5 | # Required-Stop: | ||
| 6 | # Default-Start: S | ||
| 7 | # Default-Stop: | ||
| 8 | ### END INIT INFO | ||
| 9 | |||
| 10 | . /etc/default/rcS | ||
| 11 | export PSPLASH_FIFO_DIR | ||
| 12 | |||
| 13 | if [ ! -e /dev/fb0 ]; then | ||
| 14 | echo "Framebuffer /dev/fb0 not detected" | ||
| 15 | echo "Boot splashscreen disabled" | ||
| 16 | exit 0; | ||
| 17 | fi | ||
| 18 | |||
| 19 | read CMDLINE < /proc/cmdline | ||
| 20 | for x in $CMDLINE; do | ||
| 21 | case $x in | ||
| 22 | psplash=false) | ||
| 23 | echo "Boot splashscreen disabled" | ||
| 24 | exit 0; | ||
| 25 | ;; | ||
| 26 | esac | ||
| 27 | done | ||
| 28 | |||
| 29 | if [ -n "${PSPLASH_FIFO_DIR}" ]; then | ||
| 30 | [ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR | ||
| 31 | if ! mountpoint -q $PSPLASH_FIFO_DIR ; then | ||
| 32 | mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k | ||
| 33 | fi | ||
| 34 | fi | ||
| 35 | |||
| 36 | rotation=0 | ||
| 37 | if [ -e /etc/rotation ]; then | ||
| 38 | read rotation < /etc/rotation | ||
| 39 | fi | ||
| 40 | |||
| 41 | /usr/bin/psplash --angle $rotation & | ||
| 42 | |||
