From d39bc8a5dbf180bedbb7a2ecdc66d5ead8ce6e06 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 27 Jun 2019 17:21:21 +0200 Subject: base-files: rework /etc/profile Put the changes we want to make to the default into scripts in /etc/profile.d and keep the openembedded-core provided /etc/profile. This keeps the maintained version of /etc/profile rather than having to manually merge in fixes from the openembedded layer. Signed-off-by: Max Krummenacher --- recipes-core/base-files/base-files/x11-display-var.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-core/base-files/base-files/x11-display-var.sh (limited to 'recipes-core/base-files/base-files/x11-display-var.sh') diff --git a/recipes-core/base-files/base-files/x11-display-var.sh b/recipes-core/base-files/base-files/x11-display-var.sh new file mode 100644 index 0000000..ee0eeeb --- /dev/null +++ b/recipes-core/base-files/base-files/x11-display-var.sh @@ -0,0 +1 @@ +test -z "$DISPLAY" && DISPLAY=":0.0" # have the X display defined, unless it is already set, e.g. by a ssh connection -- cgit v1.2.3