mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/xserver_xorg-server: fix init script conflicts
xdm package also installs a init script that utimately starts X server Signed-off-by: Yanghao Cheng <yanghao.cheng@aioi-atg.com> [yann.morin.1998@free.fr: - don't use $(or ...) - slightly reword comment ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
91984c9ca7
commit
f9cd154467
@@ -181,8 +181,9 @@ define XSERVER_XORG_SERVER_INSTALL_INIT_SYSTEMD
|
|||||||
$(TARGET_DIR)/usr/lib/systemd/system/xorg.service
|
$(TARGET_DIR)/usr/lib/systemd/system/xorg.service
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# init script conflicts with S90nodm
|
# Install the init script only when neither nodm nor xdm are enabled, as
|
||||||
ifneq ($(BR2_PACKAGE_NODM),y)
|
# they would be responsible for starting the server.
|
||||||
|
ifeq ($(BR2_PACKAGE_NODM)$(BR2_PACKAGE_XAPP_XDM),)
|
||||||
define XSERVER_XORG_SERVER_INSTALL_INIT_SYSV
|
define XSERVER_XORG_SERVER_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -D -m 755 package/x11r7/xserver_xorg-server/S40xorg \
|
$(INSTALL) -D -m 755 package/x11r7/xserver_xorg-server/S40xorg \
|
||||||
$(TARGET_DIR)/etc/init.d/S40xorg
|
$(TARGET_DIR)/etc/init.d/S40xorg
|
||||||
|
|||||||
Reference in New Issue
Block a user