forked from siemens/meta-iot2050
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightdm-fb: add hotplug support for display port
Add hotplug support for display port. Add lightdm-fb package to lxde.yml by default Fixes: siemens#463 Signed-off-by: Arulpandiyan Vadivel <[email protected]>
- Loading branch information
1 parent
14d3c6b
commit 0cd758c
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ header: | |
|
||
local_conf_header: | ||
add-lxde: | | ||
IMAGE_INSTALL += "lxde-touch" | ||
IMAGE_INSTALL += "lxde-touch lightdm-fb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) Siemens AG, 2023 | ||
# | ||
# This file is subject to the terms and conditions of the MIT License. See | ||
# COPYING.MIT file in the top-level directory. | ||
# | ||
|
||
# Add support for hotplug of Display Port | ||
sed -i 's/LABEL="systemd_end"/SUBSYSTEM=="graphics", KERNEL=="fb0", SYMLINK="fb0", TAG+="systemd"\nLABEL="systemd_end"/g' /lib/udev/rules.d/99-systemd.rules | ||
|
||
sed -i '/plymouth/d' /lib/systemd/system/lightdm.service | ||
sed -i '/Service/i [email protected] [email protected]\[email protected] [email protected]\nBindsTo=dev-fb0.device\nAfter=dev-fb0.device\n' /lib/systemd/system/lightdm.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# Copyright (c) Siemens AG, 2023 | ||
# | ||
# This file is subject to the terms and conditions of the MIT License. See | ||
# COPYING.MIT file in the top-level directory. | ||
# | ||
|
||
inherit dpkg-raw | ||
|
||
DESCRIPTION = "Add hotplug Display Port support for Light Desktop Manager" | ||
|
||
DEBIAN_DEPENDS = "lightdm,systemd" | ||
|
||
SRC_URI = "file://postinst" |