From 024fc5df0079343e1a609009f3f62bd5b96324ff Mon Sep 17 00:00:00 2001 From: Zhou Mingying Date: Fri, 30 Aug 2019 14:14:36 +0800 Subject: wayland bug backport: Fix fake "Address already in use" error Backport a bug modification to the wayland used by AGL, because the bug may effect the applications start error The bug modification detail is as bellow: In the current workflow, socket file will be deleted if it already exists. However, if the socket file is a symbolic link or the file that it refers to not exist, we will got "Address already in use", because bind() thinks the socket file exists and won't create it. Now, use lstat() to determine whether the socket file exists. Bug-AGL: SPEC-2783 Signed-off-by: Zhou Mingying Change-Id: Iff2c7abefa56104eef49ae7102ee8a1de796b813 --- meta-agl-profile-graphical/recipes-graphics/wayland/wayland_%.bbappend | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-agl-profile-graphical/recipes-graphics/wayland/wayland_%.bbappend') diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/wayland_%.bbappend b/meta-agl-profile-graphical/recipes-graphics/wayland/wayland_%.bbappend index 9d1822697..5677ed52d 100644 --- a/meta-agl-profile-graphical/recipes-graphics/wayland/wayland_%.bbappend +++ b/meta-agl-profile-graphical/recipes-graphics/wayland/wayland_%.bbappend @@ -2,4 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append = "\ file://0001-Change-socket-mode-add-rw-for-group.patch \ + file://0002-server-Fix-fake-Address-already-in-use-error.patch \ " -- cgit 1.2.3-korg