Skip to content

Commit

Permalink
psplash: Add udev rule notify systemd of available fb
Browse files Browse the repository at this point in the history
When using psplash in combination with systemd the splash screen is not
shown. The dependency to sys-devices-platform-gpu-graphics-fb0.device
will terminate psplash-start.service because systemd is not aware of the
existing framebuffer device node.
See https://lists.yoctoproject.org/g/yocto/topic/91286438#57156

Adding a udev rule to notify systemd
  • Loading branch information
Kiwi4Inovex committed Jun 5, 2024
1 parent b7fa9b4 commit bbb2f50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes-core/udev/udev-rules-rpi.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = " \
git://github.com/RPi-Distro/raspberrypi-sys-mods;protocol=https;branch=master \
file://can.rules \
file://fb.rules \
"
SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf"

Expand All @@ -16,4 +17,5 @@ do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${S}/etc.armhf/udev/rules.d/99-com.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${UNPACKDIR}/can.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${UNPACKDIR}/fb.rules ${D}${sysconfdir}/udev/rules.d/
}
1 change: 1 addition & 0 deletions recipes-core/udev/udev-rules-rpi/fb.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="systemd"

0 comments on commit bbb2f50

Please sign in to comment.