resolve_no_splash

===================================================================

Gbp-Pq: Name resolve_no_splash.patch
This commit is contained in:
Openkylin Developers 2022-08-31 13:59:44 +08:00 committed by luoyaoming
parent d3619ffb00
commit 18fab0024a
1 changed files with 3 additions and 1 deletions

View File

@ -524,7 +524,8 @@ get_terminal (ply_device_manager_t *manager,
if (strncmp (device_name, "/dev/", strlen ("/dev/")) == 0)
full_name = strdup (device_name);
else
asprintf (&full_name, "/dev/%s", device_name);
asprintf (&full_name, "/dev/%s", "tty0");
//asprintf (&full_name, "/dev/%s", device_name);
if (strcmp (full_name, "/dev/tty0") == 0 ||
strcmp (full_name, "/dev/tty") == 0 ||
@ -971,6 +972,7 @@ ply_device_manager_watch_devices (ply_device_manager_t *manager,
#ifdef HAVE_UDEV
watch_for_udev_events (manager);
create_devices_for_subsystem (manager, SUBSYSTEM_DRM);
create_devices_for_subsystem (manager, SUBSYSTEM_FRAME_BUFFER);
ply_event_loop_watch_for_timeout (manager->loop,
device_timeout,
(ply_event_loop_timeout_handler_t)