]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd: add shell-profile-dropins PACKAGECONFIG
authorChen Qi <Qi.Chen@windriver.com>
Thu, 15 Jan 2026 02:19:18 +0000 (10:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Jan 2026 14:21:52 +0000 (14:21 +0000)
commit767321b3d2db2446eb0b6044fcf13aa50c3b29f5
tree7303e09ca92cf85e41ce7d6d870a96b5cf839a14
parenta6d3f33123e9ed352844823aa6765d8f9d8eec12
systemd: add shell-profile-dropins PACKAGECONFIG

New version of systemd introduces dropins in /etc/profile.d. This
is usually OK for most cases. But in case of using minicom to connect
to the machine, there will be unnecessary output every time you type
a command.

This is because the /etc/profile.d/80-systemd-osc-context.sh[1] is setting
PS0 with OSC 3008 standard[2]. If a terminal (e.g., minicom) cannot
deal with this OSC 3008 standard, it will just output the whole contents.
This is quite annoying.

So add a new PACKAGECONFIG, shell-profile-dropins, to allow users a choice
to disable such behavior.

[1] https://github.com/systemd/systemd/commit/dadbb34919abd3fefeb5b8ccc9794da9398a2503
[2] https://uapi-group.org/specifications/specs/osc_context/

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_258.1.bb