From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH 2/2] kernel-build.eclass: add USE="modules-sign"
Date: Thu, 15 Jun 2023 12:03:02 +0200 [thread overview]
Message-ID: <60a77251-2390-ba0c-abde-1f78f65a5602@gentoo.org> (raw)
In-Reply-To: <a0be0bc7-b5f9-cd6f-5e9c-66a75a510c6a@gentoo.org>
On 15/06/2023 11:59, Florian Schmaus wrote:
> On 15.06.23 11:50, Andrew Ammerlaan wrote:
>> +pkg_postinst() {
>> + kernel-build_pkg_postinst
>> + if use modules-sign; then
>> + if [[ -z "${MODULES_SIGN_KEY}" ]]; then
>> + ewarn ""
>
> You can drop the empty string argument and simply just write ewarn.
Thanks,
> And I am not sure if we really need a leading empty ewarn line, but this
> appears to be a common idiom.
IMO It looks a bit better because kernel-build_pkg_postinst will also
print some elog messages. The empty line makes it clearer that this is a
separate message.
Best regards,
Andrew
next prev parent reply other threads:[~2023-06-15 10:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 9:50 [gentoo-dev] [PATCH 2/2] kernel-build.eclass: add USE="modules-sign" Andrew Ammerlaan
2023-06-15 9:59 ` Florian Schmaus
2023-06-15 10:03 ` Andrew Ammerlaan [this message]
2023-06-17 18:13 ` [gentoo-dev] [PATCH 2/2 v3] " Andrew Ammerlaan
2023-06-20 18:16 ` [gentoo-dev] [PATCH 2/2 v4] " Andrew Ammerlaan
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=60a77251-2390-ba0c-abde-1f78f65a5602@gentoo.org \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox