]> git.ipfire.org Git - thirdparty/systemd.git/commit
firstboot: some love (#39070)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 24 Sep 2025 15:38:23 +0000 (00:38 +0900)
committerGitHub <noreply@github.com>
Wed, 24 Sep 2025 15:38:23 +0000 (00:38 +0900)
commit77adf896ca37a5856ce031e5181efe306da9e25c
treeeea2323b1e0ce2ff29c3556a99260fb396b65c56
parent938442ac27d3ec2d076b59bf8bc1150a4fab9201
parentd7b966ad13e569decd768ad7e6b525425a0f93fa
firstboot: some love (#39070)

This is split out of #38764.

It mostly introduces the "chrome" stuff that puts a blue at the top of
bottom of the terminal screen when going through interactive tools such
as firstboot, homed-firstboot, and (in future) systemd-sysinstall).

it also introduces a generic "prompt_loop()" helper thatn queries the
user for some option in a loop until the rsponse matches certain
requirements. It's a generalization of a function of the same name that
so far only existed in firstboot.c. The more generic version will be
reused in a later PR by homed-firstboot and by sysinstall.