mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
udev-rules-rpi.bb: Fix psplash systemd connection
Add udev rule to notify systemd of available framebuffer 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 Signed-off-by: Bastian Wanner <bastian.wanner@inovex.de>
This commit is contained in:
committed by
Andrei Gherzan
parent
3d6873db6b
commit
e9e5efa750
@@ -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"
|
||||
|
||||
@@ -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
recipes-core/udev/udev-rules-rpi/fb.rules
Normal file
1
recipes-core/udev/udev-rules-rpi/fb.rules
Normal file
@@ -0,0 +1 @@
|
||||
SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="systemd"
|
||||
Reference in New Issue
Block a user