logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

dev-tty.patch (592B)


  1. SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: GPL-2.0-or-later
  3. We do not have /dev at this stage of the bootstrap, including /dev/tty. For
  4. some reason, bash has a fixation on /dev/tty, even though we are not
  5. interactive. Removing this check entirely fixes this issue.
  6. diff --color -ru shell.c
  7. --- bash-2.05b/shell.c 2002-07-02 01:27:11.000000000 +1000
  8. +++ bash-2.05b/shell.c 2021-01-16 11:23:36.407287955 +1100
  9. @@ -342,8 +342,6 @@
  10. # endif
  11. #endif
  12. - check_dev_tty ();
  13. -
  14. #ifdef __CYGWIN__
  15. _cygwin32_check_tmp ();
  16. #endif /* __CYGWIN__ */