emptty: 0.13.0 -> 0.14.0
PATCH 1/1 emptty: 0.13.0 -> 0.14.0
From: Randolph Sapp <[email protected]>
Update the current version of emptty to include useful upstream fixes for the retry count function and permission issues with XDG_RUNTIME_DIR.
Additionally, fix the sysvinit service to use the proper inittab entry instead of a separate init process which won't have the proper permissions to take control of the target virtual console.
This is functionally a sync with the latest proposal to oe-core/master.
---
Only applicable to scarthgap at the moment. Still working on the oe-core series for master.
.../recipes-graphics/emptty/emptty-conf.bb | 14 ++++ .../recipes-graphics/emptty/emptty.inc | 26 ++++++ .../recipes-graphics/emptty/emptty/emptty.tab | 1 + .../recipes-graphics/emptty/emptty/init | 40 ---------- .../recipes-graphics/emptty/emptty_0.13.0.bb | 79 ------------------- .../recipes-graphics/emptty/emptty_0.14.0.bb | 53 +++++++++++++ 6 files changed, 94 insertions(+), 119 deletions(-) create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty-conf.bb create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty.inc create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/emptty.tab delete mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/init delete mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty_0.13.0.bb create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb
meta-arago-distro/recipes-graphics/emptty/emptty-conf.bb new file +14 -0
@@ -0,0 +1,14 @@ +require emptty.inc + +SUMMARY += " (Default config)" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install () { + oe_runmake -C ${S}/src/${GO_IMPORT} DESTDIR=${D} install-config +} + +FILES:${PN}-conf = "${sysconfdir}/emptty/conf" +CONFFILES:${PN}-conf = "${sysconfdir}/emptty/conf" +RPROVIDES:${PN}-conf += "virtual-emptty-conf"
meta-arago-distro/recipes-graphics/emptty/emptty.inc new file +26 -0
@@ -0,0 +1,26 @@ +SUMMARY = "Dead simple CLI Display Manager on TTY" +DESCRIPTION = "Emptty is a simple display manager with a command line greeter \ +It supports both X11 and Wayland sessions, exporting required variables and \ +creating user paths as necessary." + +HOMEPAGE = "https://github.com/tvrzna/emptty" +BUGTRACKER = "https://github.com/tvrzna/emptty/issues" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=d1e4d12c7d1d17367ba5668706a405ba" + +S = "${WORKDIR}" + +FILESEXTRAPATHS:append = ":${THISDIR}/emptty" + +GO_IMPORT = "github.com/tvrzna/emptty" +GO_IMPORT_pam = "github.com/msteinert/pam" +SRC_URI = "\ + git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=src/${GO_IMPORT} \ + git://${GO_IMPORT_pam}.git;protocol=https;branch=master;name=pam;destsuffix=src/${GO_IMPORT_pam} \ + file://pamconf \ + file://emptty.tab \ + " +SRCREV = "d162bef75fadc8ae1d8e33dbb3de5e2795a196e0" +SRCREV_pam = "50ded1b0e7864b9bf75005eb945a8ec826bcf69d" + +SRCREV_FORMAT .= "_pam"
meta-arago-distro/recipes-graphics/emptty/emptty/emptty.tab new file +1 -0
@@ -0,0 +1 @@ +7:5:respawn:/usr/bin/emptty -t 7 -d
meta-arago-distro/recipes-graphics/emptty/emptty/init deleted +0 -40
@@ -1,40 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: emptty -# Required-Start: $local_fs $remote_fs -# Required-Stop: $local_fs $remote_fs -# Default-Start: 5 -# Default-Stop: 0 1 2 3 6 -# X-Interactive: true -### END INIT INFO - -PIDFILE=/var/run/emptty.pid - -# source function library -. /etc/init.d/functions - -case "$1" in - start) - echo "Starting display manager: emptty" - start-stop-daemon -b -S -p $PIDFILE -x /usr/bin/emptty -- -d - ;; - stop) - echo "Stopping display manager: emptty" - start-stop-daemon -K -p $PIDFILE -x /usr/bin/emptty - ;; - restart) - start-stop-daemon -K -p $PIDFILE --oknodo -x /usr/bin/emptty -- -d - sleep 2 - start-stop-daemon -b -S -p $PIDFILE -x /usr/bin/emptty - ;; - reload|force-reload) - start-stop-daemon -K -p $PIDFILE -s 1 -x /usr/bin/emptty - ;; - status) - status /usr/bin/emptty - ;; - *) - echo "usage: $0 { start | stop | restart }" - ;; -esac
meta-arago-distro/recipes-graphics/emptty/emptty_0.13.0.bb deleted +0 -79
79 lines not on this page · raw message
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.51.0
meta-arago / na / 20250922184556.3586969-2-rs
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-arago][scarthgap][PATCH] emptty: 0.13.0 -> 0.14.0
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Mon, 22 Sep 2025 13:45:57 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 99ee4cd55925bd5cddc29108415cb4e5fd1b8979
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202509181257
- Commit SHA: 96f3c5b8e2efec96de9db131992e56272becc174
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: FAIL
=========================================================
scarthgap
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb:10
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pam', '', ',nopam', d)}"
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb:11
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ',noxlib', d)}"
Code Summary
============
APPEND-2
-------------------------------------------
:append simply takes the specified string and concatenates it directly to the variable. Most of the time we want there to spaces between entries. This check flags us to check if the missing space is actually needed.
Quoted 57 lines · PRC Automation
meta-arago / na / 20250922184556.3586969-2-rs
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-arago][scarthgap][PATCH] emptty: 0.13.0 -> 0.14.0
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Mon, 22 Sep 2025 13:45:57 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA:99ee4cd55925bd5cddc29108415cb4e5fd1b8979Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202509181257
- Commit SHA:96f3c5b8e2efec96de9db131992e56272becc174Patches
----------------------------------------
All patches applied=========================================================
check-yocto-repo: FAIL
=========================================================
scarthgap
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb:10
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pam', '', ',nopam', d)}"WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb:11
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ',noxlib', d)}"Code Summary
============
Quoted 6 lines
APPEND-2
-------------------------------------------
:append simply takes the specified string and concatenates it directly to the variable. Most of the time we want there to spaces between entries. This check flags us to check if the missing space is actually needed.
This check in this particular instance is invalid. GO_TAGS is a comma separated list of flags. Any whitespace will break parsing of that variable.
Quoted 65 lines · Randolph Sapp
Quoted 57 lines · PRC Automation
meta-arago / na / 20250922184556.3586969-2-rs
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-arago][scarthgap][PATCH] emptty: 0.13.0 -> 0.14.0
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Mon, 22 Sep 2025 13:45:57 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA:99ee4cd55925bd5cddc29108415cb4e5fd1b8979Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202509181257
- Commit SHA:96f3c5b8e2efec96de9db131992e56272becc174Patches
----------------------------------------
All patches applied=========================================================
check-yocto-repo: FAIL
=========================================================
scarthgap
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb:10
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pam', '', ',nopam', d)}"WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty_0.14.0.bb:11
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ',noxlib', d)}"Code Summary
============Quoted 6 lines
APPEND-2
-------------------------------------------
:append simply takes the specified string and concatenates it directly to the variable. Most of the time we want there to spaces between entries. This check flags us to check if the missing space is actually needed.
Quoted 2 lines
This check in this particular instance is invalid.
GO_TAGSis a comma separated list of flags. Any whitespace will break parsing of that variable.
I updated the rules to use file regex instead of full path. There was a rule for the emptty_0.13.0.bb recipe, but not emptty_0.14.0.bb. This warning should not reappear in future patches.
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS