Skip to contentSkip to conversation

FIXME: systemd: Remove new OSC prompt feature

PATCH In review Ryan Eatmon 3 participants 4 messages Dec 19, 2025 – Feb 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FIXME: systemd: Remove new OSC prompt feature

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.

---
 meta-arago-distro/recipes-core/systemd/systemd-arago.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta-arago-distro/recipes-core/systemd/systemd-arago.inc +5 -0
index 6e5baef7..3c31b92d 100644
@@ -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
 }
Signature · 1 line
2.43.0
#1 lore raw

meta-arago / na / 20251219172103.363206-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] FIXME: systemd: Remove new OSC prompt feature
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Fri, 19 Dec 2025 11:21:03 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: ca3d9ca76798db687bcf5df95b606810e7f17c1b

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202512040100
- Commit SHA: 410e1081aaedc1c525825851a9df7748b49cb659

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Nothing RPROVIDES 'libxml2-python' (but <build-dir>/sources/meta-virtualization/recipes-extended/virt-manager/virt-manager_git.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.

#2 lore raw
In reply to Ryan Eatmon

BTW, there was a patch that now sits in master-next to control this with a PACKAGECONFIG:

https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=0d7575d32a7b14762d80b1c09db4065ff247a903

Quoted 31 lines · Ryan Eatmon via lists.yoctoproject.org

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.

---
 meta-arago-distro/recipes-core/systemd/systemd-arago.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta-arago-distro/recipes-core/systemd/systemd-arago.inc +5 -0
index 6e5baef7..3c31b92d 100644
@@ -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
 }
Signature · 1 line
2.43.0
#3 lore raw

Yeah. I've been watching it in the review meetings to see if/when it ever gets accepted.

Quoted 38 lines · Denys Dmytriyenko

BTW, there was a patch that now sits in master-next to control this with a PACKAGECONFIG:

https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=0d7575d32a7b14762d80b1c09db4065ff247a903

Quoted 31 lines · Ryan Eatmon via lists.yoctoproject.org

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.

---
  meta-arago-distro/recipes-core/systemd/systemd-arago.inc | 5 +++++
  1 file changed, 5 insertions(+)
meta-arago-distro/recipes-core/systemd/systemd-arago.inc +5 -0
index 6e5baef7..3c31b92d 100644
@@ -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
  }
Signature · 1 line
2.43.0
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS