From: Nicolas Schier <nicolas@fjasle.eu>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Karolis M <k4rolis@protonmail.com>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>
Subject: Re: [PATCH] kbuild: fix kernel-devel RPM package and linux-headers Deb package
Date: Mon, 11 Sep 2023 11:37:35 +0200 [thread overview]
Message-ID: <ZP7f35Lmt6Lo3Y0X@buildd.core.avm.de> (raw)
In-Reply-To: <20230910124413.1479521-1-masahiroy@kernel.org>
On Sun, Sep 10, 2023 at 09:44:13PM +0900, Masahiro Yamada wrote:
> Since commit fe66b5d2ae72 ("kbuild: refactor kernel-devel RPM package
> and linux-headers Deb package"), the kernel-devel RPM package and
> linux-headers Deb package are broken.
>
> I double-quoted the $(find ... -type d), which resulted in newlines
> being included in the argument to the outer find comment.
>
> find: 'arch/arm64/include\narch/arm64/kvm/hyp/include': No such file or directory
>
> The outer find command is unneeded.
>
> Fixes: fe66b5d2ae72 ("kbuild: refactor kernel-devel RPM package and linux-headers Deb package")
> Reported-by: Karolis M <k4rolis@protonmail.com>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
> scripts/package/install-extmod-build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/install-extmod-build b/scripts/package/install-extmod-build
> index af7fe9f5b1e4..8a7051fad087 100755
> --- a/scripts/package/install-extmod-build
> +++ b/scripts/package/install-extmod-build
> @@ -20,7 +20,7 @@ mkdir -p "${destdir}"
> find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
> find include scripts -type f -o -type l
> find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform
> - find "$(find "arch/${SRCARCH}" -name include -o -name scripts -type d)" -type f
> + find "arch/${SRCARCH}" -name include -o -name scripts -type d
> ) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
>
> {
> --
> 2.39.2
Reviewed-by: Nicolas Schier <n.schier@avm.de>
prev parent reply other threads:[~2023-09-11 22:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-10 12:44 [PATCH] kbuild: fix kernel-devel RPM package and linux-headers Deb package Masahiro Yamada
2023-09-11 9:37 ` Nicolas Schier [this message]
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=ZP7f35Lmt6Lo3Y0X@buildd.core.avm.de \
--to=nicolas@fjasle.eu \
--cc=k4rolis@protonmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox