On Mon, 2026-07-20 at 19:22 +0200, Yoann Congal via
lists.openembedded.org wrote:
> From: Hongxu Jia <[email protected]>
> 
> According to [1]
> 
> As of the current version 1.0.8, bzip2 --version will print version
> info but it will also continue compressing stdin:
> 
>   $ ./bzip2 --version
>   bzip2, a block-sorting file compressor.  Version 1.0.8, 13-Jul-2019.
> 
>      Copyright (C) 1996-2019 by Julian Seward.
> 
>      This program is free software; [...]
> 
>   bzip2: I won't write compressed data to a terminal.
>   bzip2: For help, type: `bzip2 --help'.
> 
> Debian (and its downstreams like Ubuntu) will patch this out [2],
> making the < /dev/null unnecessary, port a part of debian patch
> to fix the issue
> 
> [1] 
> https://stackoverflow.com/questions/59757176/why-using-dev-null-with-a-program-like-bzip2
> [2] 
> https://sources.debian.org/src/bzip2/1.0.8-6/debian/patches/20-legacy.patch/
> 
> Signed-off-by: Hongxu Jia <[email protected]>
> Signed-off-by: Mathieu Dubois-Briand <[email protected]>
> Signed-off-by: Richard Purdie <[email protected]>
> (cherry picked from commit ae4fe4263ba9d372f9b9e80df4ec4697b51c1f9b)
> Signed-off-by: Jaipaul Cheernam <[email protected]>
> Signed-off-by: Yoann Congal <[email protected]>

Hi Jaipaul,

What's the motivation for backporting this now? Applying this to
scarthgap will change the behaviour of bzip2 on a stable branch, so we'd
need a strong reason to do that.

Best regards,

-- 
Paul Barker

Attachment: signature.asc
Description: This is a digitally signed message part

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241486): 
https://lists.openembedded.org/g/openembedded-core/message/241486
Mute This Topic: https://lists.openembedded.org/mt/120362912/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to