Skip to contentSkip to conversation

x86/build updates for v6.15

GIT PULL Merged Ingo Molnar 3 participants 4 messages Mar 22, 2025 – Mar 25, 2025

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86/build Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-2025-03-22

# HEAD: e471a86a8c523eccdfd1c4745ed7ac7cbdcc1f3f x86/boot: Add back some padding for the CRC-32 checksum

x86/build updates for v6.15:

- Drop CRC-32 checksum and the build tool that generates it (Ard Biesheuvel)

- Fix broken copy command in genimage.sh when making isoimage (Nir Lichtman)

Thanks,

Ingo

------------------>
Ard Biesheuvel (2):
x86/boot: Drop CRC-32 checksum and the build tool that generates it x86/boot: Add back some padding for the CRC-32 checksum

Nir Lichtman (1):
x86/build: Fix broken copy command in genimage.sh when making isoimage

 Documentation/arch/x86/boot.rst        |  10 --
 arch/x86/boot/Makefile                 |   7 +-
 arch/x86/boot/compressed/vmlinux.lds.S |   2 +-
 arch/x86/boot/genimage.sh              |   5 +-
 arch/x86/boot/setup.ld                 |   2 +
 arch/x86/boot/tools/.gitignore         |   2 -
 arch/x86/boot/tools/build.c            | 247 ---------------------------------
 7 files changed, 9 insertions(+), 266 deletions(-)
 delete mode 100644 arch/x86/boot/tools/.gitignore
 delete mode 100644 arch/x86/boot/tools/build.c
#2 lore raw
In reply to Ingo Molnar
Quoted 3 lines · Ingo Molnar

- Drop CRC-32 checksum and the build tool that generates it (Ard Biesheuvel)

Hmm. I didn't notice this during the merge process, but not too long afterwards it became obvious that this caused problems.

I've committed the fix separately: commit 2df0c02dab82 ("x86 boot
build: make git ignore stale 'tools' directory").

Please don't just mindlessly remove .gitignore entries for generated files.

Because even if *you* may have removed the file, the generated files don't magically disappear from everybody else, and when the gitignore entry is gone, you are now setting other developers up for mistakes.

Linus

#3 lore raw
Quoted 10 lines · Linus Torvalds
Quoted 3 lines · Ingo Molnar

- Drop CRC-32 checksum and the build tool that generates it (Ard Biesheuvel)

Hmm. I didn't notice this during the merge process, but not too long afterwards it became obvious that this caused problems.

I've committed the fix separately: commit 2df0c02dab82 ("x86 boot
build: make git ignore stale 'tools' directory").

Thank you!

Quoted 6 lines

Please don't just mindlessly remove .gitignore entries for generated files.

Because even if *you* may have removed the file, the generated files don't magically disappear from everybody else, and when the gitignore entry is gone, you are now setting other developers up for mistakes.

Indeed. I never saw this warning, as the directory was gone, but on a build box I have:

Untracked files:
...

	arch/x86/boot/tools/

And I can see how this can then be added back in spuriously.

Thanks,

Ingo