getty: support /run/issue.d/

By default agetty will not display /run/issue.d/ if /etc/issue exists.
This is quite unfortunate and has actually been fixed upstream in:

508fb0e7ac

However, no release has been tagged with this yet, and it doesn't look
like this will happen any time soon. Hence, for now, let's add a
work-around and manually override the issue files to include.

This should be reverted once a new util-linux/agetty release has been
tagged, and found its way into the relevant distributions. Given this is
mostly about cosmetics we do not have to precisely sync the package
updates on this, but only roughly.
This commit is contained in:
Lennart Poettering
2025-06-12 14:34:13 +02:00
parent 76e3cc469d
commit 864a5e9ded
5 changed files with 8 additions and 4 deletions

4
TODO
View File

@@ -118,6 +118,10 @@ Deprecations and removals:
* Consider removing root=gpt-auto, and push people to use root=dissect instead.
* Once
https://github.com/util-linux/util-linux/commit/508fb0e7ac103b68531a59db2a4473897853ab52
has hit the prominent distributions, revert --issue-file= hack in units/*getty*sevice.in
Features:
* replace bootctl's PE version check to actually use APIs from pe-binary.[ch]