Files
extra/libretools/remove-systemd_stdin_hack.patch
2025-06-22 20:39:04 -05:00

31 lines
1.0 KiB
Diff

diff --git b/remove-systemd_stdin_hack.patch b/remove-systemd_stdin_hack.patch
new file mode 100644
index 00000000..e69de29b
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 7b1c8c2c..783d3e57 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -398,14 +398,14 @@ main() {
umask 0022
# XXX: SYSTEMD-STDIN HACK
- if ! [[ -t 0 ]]; then
- error "Input is not a TTY"
- plain "https://labs.parabola.nu/issues/431"
- plain "https://bugs.freedesktop.org/show_bug.cgi?id=70290"
- prose "Due to a bug in systemd-nspawn, redirecting stdin is not
- supported." >&2
- return 1
- fi
+ #if ! [[ -t 0 ]]; then
+ # error "Input is not a TTY"
+ # plain "https://labs.parabola.nu/issues/431"
+ # plain "https://bugs.freedesktop.org/show_bug.cgi?id=70290"
+ # prose "Due to a bug in systemd-nspawn, redirecting stdin is not
+ # supported." >&2
+ # return 1
+ #fi
# Keep this lock for as long as we are running
# Note that '9' is the same FD number as in mkarchroot et al.