diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-27 17:21:21 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-07-01 14:41:43 +0200 |
commit | d39bc8a5dbf180bedbb7a2ecdc66d5ead8ce6e06 (patch) | |
tree | 2686b28de4ec7b6269268b47647a87ff01762c3e /recipes-core/base-files/base-files_3.0.14.bbappend | |
parent | c616bfd03c80bf2eec2d8ecf54b15a6d520d3b86 (diff) |
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 <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-core/base-files/base-files_3.0.14.bbappend')
-rw-r--r-- | recipes-core/base-files/base-files_3.0.14.bbappend | 11 |
1 files changed, 11 insertions, 0 deletions
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/ +} |