From: "Paul Barker" <paul@pbarker.dev>
To: "Prasanth R" <ragaprasanth@gmail.com>,
<openembedded-core@lists.openembedded.org>
Cc: "Daniel Turull" <daniel.turull@ericsson.com>
Subject: Re: [PATCH 2/2] improve_kernel_cve_report: use the zstd tool if zstandard is missing
Date: Fri, 04 Dec 2026 13:26:54 +0000 [thread overview]
Message-ID: <DNBZEBKREKF5.RCLVL1Q0GSCP@pbarker.dev> (raw)
In-Reply-To: <20261203053348.4024389-2-ragaprasanth@gmail.com>
On Thu Dec 3, 2026 at 5:33 AM GMT, Prasanth R wrote:
> The python zstandard module is not installed on all build hosts, but the
> zstd tool is a Yocto host requirement. Fall back to 'zstd -dc' when the
> module is not available.
>
> AI-Generated: Uses Claude
> Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
Hi Prasanth,
Having two ways of decompressing data here gives us two code paths which
may fail in different ways, and which aren't both covered by testing. I
don't expect the Python zstandard module to be any faster/better than
the external command, so there's no good justification for having both.
Should we always run zstd as an external command? That would give us one
way of doing things that should always work.
Best regards,
--
Paul Barker
next prev parent reply other threads:[~2026-12-04 13:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 5:33 [PATCH 1/2] improve_kernel_cve_report: stop when debug sources list no files Prasanth R
2026-12-03 5:33 ` [PATCH 2/2] improve_kernel_cve_report: use the zstd tool if zstandard is missing Prasanth R
2026-12-04 13:26 ` Paul Barker [this message]
2026-12-04 13:42 ` Prasanth R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DNBZEBKREKF5.RCLVL1Q0GSCP@pbarker.dev \
--to=paul@pbarker.dev \
--cc=daniel.turull@ericsson.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ragaprasanth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.