Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit c86e9ae

Browse files
committed
kbuild: fix kernel-devel RPM package and linux-headers Deb package
Since commit fe66b5d ("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: fe66b5d ("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> Reviewed-by: Nicolas Schier <n.schier@avm.de>
1 parent 0bb80ec commit c86e9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/install-extmod-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mkdir -p "${destdir}"
2020
find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
2121
find include scripts -type f -o -type l
2222
find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform
23-
find "$(find "arch/${SRCARCH}" -name include -o -name scripts -type d)" -type f
23+
find "arch/${SRCARCH}" -name include -o -name scripts -type d
2424
) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
2525

2626
{

0 commit comments

Comments
 (0)