[meta-arago][master][PATCH] FIXME: systemd: Remove new OSC prompt feature

Ryan Eatmon <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
Our testing flow is blocked because of the OSC prompt code that was
added to systemd 258.1.  This feature seeks to put a lot more extra
information on the prompt using escape sequences, but it is conflicting
with our board setup in some way.  All of the escaped sequences are
being printed at the prompt which makes our testing detection code
fail.

We need to get this fixed in the long run, but we also need to be able
to pass CICD in the meantime.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 meta-arago-distro/recipes-core/systemd/systemd-arago.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-arago-distro/recipes-core/systemd/systemd-arago.inc b/meta-arago-distro/recipes-core/systemd/systemd-arago.inc
index 6e5baef7..3c31b92d 100644
--- a/meta-arago-distro/recipes-core/systemd/systemd-arago.inc
+++ b/meta-arago-distro/recipes-core/systemd/systemd-arago.inc
@@ -27,4 +27,9 @@ do_install:append() {
 
     install -d ${D}${sysconfdir}/systemd/
     install -m 0644 ${UNPACKDIR}/timesyncd.conf ${D}${sysconfdir}/systemd/
+
+    # Remove new prompt code that is polluting the testing output
+    rm ${D}/${nonarch_libdir}/tmpfiles.d/20-systemd-osc-context.conf
+    rm ${D}/${nonarch_libdir}/systemd/profile.d/80-systemd-osc-context.sh
+    rm ${D}/${sysconfdir}/profile.d/80-systemd-osc-context.sh
 }
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.