[Git-commits] [grml/grml-live] 7422d3: Set SHELL variable in tty1

Michael Prokop noreply at github.com
Fri Nov 11 16:42:20 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: 7422d318f84aaad3452e3c5a8bdcbc6ff252c152
      https://github.com/grml/grml-live/commit/7422d318f84aaad3452e3c5a8bdcbc6ff252c152
  Author: Darshaka Pathirana <dpat at syn-net.org>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M etc/grml/fai/config/files/etc/systemd/system/getty at tty1.service.d/override.conf/GRMLBASE

  Log Message:
  -----------
  Set SHELL variable in tty1

The SHELL variable is not set in our tty1 when `run-welcome` is called
(instead of agetty(8) + login(1)).

So, when invoking `screen` we end up in `/bin/sh` instead of a zsh
shell.

We also had the same problem for tty2 - tty4 and fixed it in
grml/grml-live at 6871972 (to fix grml/grml#14).

We now use the same approach to fix tty1 although the SHELL variable
should (most probably) be set in `run-welcome` and `run-screen` itself.

Issue: grml/grml#135


  Commit: 7445564c4c9a67aebdcb1e3fc05a20a91d4147d7
      https://github.com/grml/grml-live/commit/7445564c4c9a67aebdcb1e3fc05a20a91d4147d7
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M etc/grml/fai/config/files/etc/systemd/system/getty at tty1.service.d/override.conf/GRMLBASE

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/github/pr/122'


Compare: https://github.com/grml/grml-live/compare/74dcb54d7fd5...7445564c4c9a


More information about the Git-commits mailing list