Skip to contentSkip to conversation

emptty: backport fix for signal handeling

PATCH In review [email protected] 3 participants 4 messages Oct 1, 2025 – Oct 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 emptty: backport fix for signal handeling

From: Randolph Sapp <[email protected]>

To quote the upstream patch:

Emptty cannot currently exit via an external signal if the session process exits abnormally. This conflicts with the expected behavior of systemd, which expects that the service will always respect signals.

This has the added benefit of allowing users to use ^C to restart the login process at any point in the menu system.

Backporting this since it hasn't hit a tagged release yet.

---
 .../recipes-graphics/emptty/emptty.inc        |  1 +
 ...Interrupt-handle-unruly-applications.patch | 52 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/0001-handleInterrupt-handle-unruly-applications.patch
meta-arago-distro/recipes-graphics/emptty/emptty.inc +1 -0
index b452d403..4f23cf79 100644
@@ -19,6 +19,7 @@ SRC_URI = "\
     git://${GO_IMPORT_pam}.git;protocol=https;branch=master;name=pam;destsuffix=src/${GO_IMPORT_pam} \
     file://pamconf \
     file://emptty.tab \
+    file://0001-handleInterrupt-handle-unruly-applications.patch;patchdir=src/${GO_IMPORT} \
     "
 SRCREV = "d162bef75fadc8ae1d8e33dbb3de5e2795a196e0"
 SRCREV_pam = "50ded1b0e7864b9bf75005eb945a8ec826bcf69d"
meta-arago-distro/recipes-graphics/emptty/emptty/0001-handleInterrupt-handle-unruly-applications.patch new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.51.0
#1 lore raw

PATCH 2/2 weston-init-arago: add weston-init to the rprovides

From: Randolph Sapp <[email protected]>

I made this conflict with the core version of weston-init, but I forgot to say it's actually a runtime provider of the same package to resolve any issues with core package groups.

Fixes d63830cd ("weston-init: weston-init -> weston-init-arago")
---
 meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb +1 -1
index 033c32f1..395e996e 100644
@@ -65,7 +65,7 @@ FILES:${PN} += "\
     "
 
 CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/emptty/conf"
-RPROVIDES:${PN}:append = " virtual-emptty-conf"
+RPROVIDES:${PN}:append = " virtual-emptty-conf weston-init"
 RCONFLICTS:${PN} += "weston-init"
 
 USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,nopasswdlogin weston"
Signature · 1 line
2.51.0
#2 lore raw

Re: [meta-arago][scarthgap][PATCH 2/2] weston-init-arago: add weston-init to the rprovides

Quoted 17 lines · On Wed, Oct 01, 2025 at 01:31:02PM -0500, [email protected] wrote:

From: Randolph Sapp <[email protected]>

I made this conflict with the core version of weston-init, but I forgot to say it's actually a runtime provider of the same package to resolve any issues with core package groups.

Fixes d63830cd ("weston-init: weston-init -> weston-init-arago")
---
 meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb +0 -0
index 033c32f1..395e996e 100644

meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb FILES:${PN} += "\ · line 68

Quoted 5 lines
meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb +1 -1
@@ -65,7 +65,7 @@ FILES:${PN} += "\
     "
 
 CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/emptty/conf"
-RPROVIDES:${PN}:append = " virtual-emptty-conf"
+RPROVIDES:${PN}:append = " virtual-emptty-conf weston-init"

Now you also need an extra PREFERRED_RPROVIDER:

NOTE: Multiple providers are available for runtime weston-init (weston-init, weston-init-arago) Consider defining a PREFERRED_RPROVIDER entry to match weston-init

Quoted 6 lines
meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb +0 -0
 RCONFLICTS:${PN} += "weston-init"
 
 USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,nopasswdlogin weston"
Signature · 1 line
2.51.0
#3 lore raw
In reply to [email protected]

meta-arago / na / 20251001183102.357345-1-rs

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-arago][scarthgap][PATCH 1/2] emptty: backport fix for signal handeling
WARN: Commit message should not include directory path to recipe: emptty: backport fix for signal handeling.
emptty: (COMMIT-MESSAGE-3)
patch

=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-arago][scarthgap][PATCH 1/2] emptty: backport fix for signal handeling
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
+From: Randolph Sapp <[email protected]>
- Date: Date: Wed, 1 Oct 2025 13:31:01 -0500
+Date: Tue, 30 Sep 2025 20:05:05 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: b187606b26e81402f170cc37c03e685e1673ad37

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: Antonios Christidis <[email protected]>
- Commit Subject: ti-test: Add libsdl2-tests to packagegroup
- Commit SHA: 94aba9851641f221eb7334cc2c4873c0eb04fc35

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

=========================================================
check-yocto-repo: PASS
=========================================================
scarthgap
=====================
PASS