Build and packaging library
  • Python 43.9%
  • Makefile 40.9%
  • Shell 15.2%
Find a file
Jan Lindemann ae902250bd jw/pkg/lib/util.run_cmd(): Chunked read_stream()
jw-pkg distro dup got hung in a chroot environment. strace shows that
write(2) into a pipe is the hanging syscall, with the write buffer
hinting at zypper dup output.

I strongly suspect that run_cmd() tries to write stdout into the pipe
which read_stream() fails to empty. So, make read_stream() more
resilient by using read(4096) instead of readline(), which I suspect
to be prone to hang on overlong lines.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-05 06:42:57 +00:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
make platform.mk: Add HOST_DISTRO_INFO 2026-03-03 05:32:47 +01:00
scripts pgit.sh get: Fix default revision for fresh clones 2026-03-04 16:59:46 +00:00
src jw/pkg/lib/util.run_cmd(): Chunked read_stream() 2026-03-05 06:42:57 +00:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-177@suse-tumbleweed/x86_64 2026-03-04 20:26:58 +00:00
Makefile $(TOPDIR)/Makefile: Remove superfluous SUBDIRS 2025-11-14 13:39:52 +01:00
RELEASES Release 1.0.0-177@suse-tumbleweed/x86_64 2026-03-04 20:26:58 +00:00
VERSION Start version: 1.0.0-177 2026-03-04 20:26:20 +00:00