Skip to content

initramfs: Cleanup and fix initramfs size calculation

Hendrik Brueckner lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2initramfs: Generalize initramfs_data.xxx.S variantsusr/Makefile usr/initramfs_data.S usr/initramfs_data.bz2.S +3 more+7 -1200 replies
2/2initramfs: Fix initramfs size calculationinclude/asm-generic/vmlinux.lds.h init/initramfs.c usr/initramfs_data.S+17 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] initramfs: Cleanup and fix initramfs size calculation
Quoted 6 lines · Sam Ravnborg
Quoted 3 lines · Michael Holzheu

The patch also restructures the "usr/initramfs_data.xxx.S" files to use a common macro that includes the (compressed) initramfs file and calculates the __initramfs_size.

I like this anyway. Could you do this as a separate patch?

Done ;-)

The first patch in this series introduces a common initramfs_data.S file that is shared by the compression variants. The second patch adds the new initramfs size calculation proposed in the initial patch.
See the patch description for more details.

Kind regards,
Hendrik