added my Recipes
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
SPLASH_IMG ?= OpenSTLinux_background_480x272.png
|
||||
SPLASH_IMG_ROT ?= OpenSTLinux_background_480x272_rotation.png
|
||||
|
||||
all: modeset
|
||||
|
||||
generate_header: $(SPLASH_IMG) $(SPLASH_IMG_ROT)
|
||||
@gdk-pixbuf-csource --macros $(SPLASH_IMG) > image_header.tmp
|
||||
@(sed -e "s/MY_PIXBUF/SPLASH_IMG/g" -e "s/guint8/uint8_t/g" image_header.tmp > image_header.h && rm image_header.tmp)
|
||||
@gdk-pixbuf-csource --macros $(SPLASH_IMG_ROT) > image_header.tmp
|
||||
@(sed -e "s/MY_PIXBUF/SPLASH_IMG_ROT/g" -e "s/guint8/uint8_t/g" image_header.tmp >> image_header.h && rm image_header.tmp)
|
||||
|
||||
psplash:
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o psplash-drm basic_splash_drm.c -I. `pkg-config --cflags --libs libdrm pixman-1 libpng` -Wall -Os
|
||||
|
||||
clean:
|
||||
rm -rf psplash-drm
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
PSPLASH_PID=`pidof psplash-drm`
|
||||
if [[ ! -z $PSPLASH_PID ]]; then
|
||||
echo -n "Stop psplash: "
|
||||
echo QUIT > /tmp/splash_fifo
|
||||
#kill -9 $PSPLASH_PID
|
||||
echo "done."
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Starts Psplash Boot screen
|
||||
#Wants=systemd-remount-fs.service
|
||||
#After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
|
||||
After=systemd-remount-fs.service
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=yes
|
||||
KillMode=mixed
|
||||
SendSIGKILL=no
|
||||
ExecStart=/usr/bin/psplash-drm -w
|
||||
|
||||
[Install]
|
||||
WantedBy=local-fs.target
|
||||
Reference in New Issue
Block a user