Every time I look at the login prompt, the banner looks a bit off. It's
not much, but it's enough for me to notice and sigh internally at the
unroundness and leakiness of the letters, and I find the letters a bit
hard to parse.

The reason for this appearance is that backslashes in the banner output
are replaced by backticks when it is written to /etc/issue, probably as
a quick-fix to avoid variable expansion by getty.

This patch series brings the login banner back to its usual appearance.
Judge for yourself:

Before:
     ____                        _                   _
    |  _ ` ___ _ __   __ _ _   _| |_ _ __ ___  _ __ (_)_  __
    | |_) / _ ` '_ ` / _` | | | | __| '__/ _ `| '_ `| ` `/ /
    |  __/  __/ | | | (_| | |_| | |_| | | (_) | | | | |>  <
    |_|   `___|_| |_|`__, |`__,_|`__|_|  `___/|_| |_|_/_/`_`
                     |___/
     ____  _     _             _  ___ _
    |  _ `(_)___| |_ _ __ ___ | |/ (_) |_
    | | | | / __| __| '__/ _ `| ' /| | __|
    | |_| | `__ ` |_| | | (_) | . `| | |_
    |____/|_|___/`__|_|  `___/|_|`_`_|`__|

After:
     ____                        _                   _
    |  _ \ ___ _ __   __ _ _   _| |_ _ __ ___  _ __ (_)_  __
    | |_) / _ \ '_ \ / _` | | | | __| '__/ _ \| '_ \| \ \/ /
    |  __/  __/ | | | (_| | |_| | |_| | | (_) | | | | |>  <
    |_|   \___|_| |_|\__, |\__,_|\__|_|  \___/|_| |_|_/_/\_\
                     |___/
     ____  _     _             _  ___ _
    |  _ \(_)___| |_ _ __ ___ | |/ (_) |_
    | | | | / __| __| '__/ _ \| ' /| | __|
    | |_| | \__ \ |_| | | (_) | . \| | |_
    |____/|_|___/\__|_|  \___/|_|\_\_|\__|


Roland Hieber (2):
  install_replace_figlet: allow escaping the figlet output
  rootfs: correctly escape /etc/issue figlets

 rules/post/install.make           |  4 +++-
 rules/rootfs.make                 |  6 ++++--
 scripts/lib/ptxd_make_xpkg_pkg.sh | 20 ++++++++++++++++++--
 3 files changed, 25 insertions(+), 5 deletions(-)

-- 
2.15.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to