Skip to content

tools: mkenvimage: Fixes for reading from pipes

Andre Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tools: mkenvimage: Fix reading from slow pipetools/mkenvimage.c+1 -22 replies
2/2tools: mkenvimage: Always consider non-regular filestools/mkenvimage.c+21 -491 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlexander Dahl
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] tools: mkenvimage: Fixes for reading from pipes

This fixes two issues I had when trying to create an envimage from a more complex pipe:
- The read process stops when the read(2) syscall returns less bytes than requested.
- Specifying an input filename expects this to be a regular file.

See the respective commit messages for more details.

Thanks!
Andre

Andre Przywara (2):
tools: mkenvimage: Fix reading from slow pipe
tools: mkenvimage: Always consider non-regular files

 tools/mkenvimage.c | 71 ++++++++++++++++--------------------------------------
 1 file changed, 21 insertions(+), 50 deletions(-)
Signature · 1 line
2.14.5