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_3.0.14.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'recipes-core/base-files/base-files_3.0.14.bbappend') diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend index 613f9c6..a038011 100644 --- a/recipes-core/base-files/base-files_3.0.14.bbappend +++ b/recipes-core/base-files/base-files_3.0.14.bbappend @@ -1 +1,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/base-files:" + +SRC_URI += " \ + file://disable_systemd_coloroutput.sh \ + file://x11-display-var.sh \ +" + +do_install_append () { + install -m 0755 -d ${D}${sysconfdir}/profile.d + install -m 0644 ${WORKDIR}/disable_systemd_coloroutput.sh ${D}${sysconfdir}/profile.d/ + install -m 0644 ${WORKDIR}/x11-display-var.sh ${D}${sysconfdir}/profile.d/ +} -- cgit v1.2.3