Re: [PATCH] ref-manual/variables.rst: document the INITRAMFS_MAXSIZE variable

Christos Gavros
2025-04-24T15:18:35Z

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

hi Antonin

my plan was to include text for all the comments from you and Quentin.
I didnt mention the others because are small changes.

Regarding the 2 variables. The values are:
IMAGE_OVERHEAD_FACTOR = 1.3
IMAGE_ROOTFS_ALIGNMENT = 1
size (initial size of IMAGE_ROOTFS) = 120840kb
size (after applying IMAGE_OVERHEAD_FACTOR ) = 157092kb
size (after applying IMAGE_ROOTFS_ALIGNMENT ) = 157092kb

There are more variables involved in the final calculation like 'IMAGE_ROOTFS_SIZE', 'IMAGE_ROOTFS_EXTRA_SPACE' (calc of base_size2).

My suggestion related to variables is to add a sentence like " The variables IMAGE_OVERHEAD_FACTOR, IMAGE_ROOTFS_ALIGNMENT , IMAGE_ROOTFS_SIZE, IMAGE_ROOTFS_EXTRA_SPACE
are applied in the final calculation of initramfs size."

Br
Christos

[-- Attachment #2: Type: text/html, Size: 10024 bytes --]