diff mbox series

[v8,1/8] scripts/update-linux-headers: Copy setup_data.h to correct directory

Message ID 20240527-pvpanic-shutdown-v8-1-5a28ec02558b@t-8ch.de (mailing list archive)
State New, archived
Headers show
Series update linux headers to v6.10-rc1 and shutdown support for pvpanic | expand

Commit Message

Thomas Weißschuh May 27, 2024, 6:27 a.m. UTC
Add the missing "include/" path component, so the files ends up in the
correct place like the other headers.

Fixes: 66210a1a30f2 ("scripts/update-linux-headers: Add setup_data.h to import list")
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
---
 scripts/update-linux-headers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Huth May 27, 2024, 6:33 a.m. UTC | #1
On 27/05/2024 08.27, Thomas Weißschuh wrote:
> Add the missing "include/" path component, so the files ends up in the
> correct place like the other headers.
> 
> Fixes: 66210a1a30f2 ("scripts/update-linux-headers: Add setup_data.h to import list")
> Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
> ---
>   scripts/update-linux-headers.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 8963c391895f..a148793bd569 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -158,7 +158,7 @@ for arch in $ARCHLIST; do
>           cp_portable "$hdrdir/bootparam.h" \
>                       "$output/include/standard-headers/asm-$arch"
>           cp_portable "$hdrdir/include/asm/setup_data.h" \
> -                    "$output/standard-headers/asm-x86"
> +                    "$output/include/standard-headers/asm-x86"

I just ran into the same issue!

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 8963c391895f..a148793bd569 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -158,7 +158,7 @@  for arch in $ARCHLIST; do
         cp_portable "$hdrdir/bootparam.h" \
                     "$output/include/standard-headers/asm-$arch"
         cp_portable "$hdrdir/include/asm/setup_data.h" \
-                    "$output/standard-headers/asm-x86"
+                    "$output/include/standard-headers/asm-x86"
     fi
     if [ $arch = riscv ]; then
         cp "$hdrdir/include/asm/ptrace.h" "$output/linux-headers/asm-riscv/"