From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9E5DC369AB for ; Thu, 24 Apr 2025 15:18:35 +0000 (UTC) Subject: Re: [PATCH] ref-manual/variables.rst: document the INITRAMFS_MAXSIZE variable To: docs@lists.yoctoproject.org From: "Christos Gavros" X-Originating-Location: =?UTF-8?B?TWFsbW8sIFNrw6VuZSBDb3VudHksIFNF?= (78.82.187.133) X-Originating-Platform: Linux Chrome 135 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 24 Apr 2025 08:18:34 -0700 References: In-Reply-To: Message-ID: <24329.1745507914289060157@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="2mhxKhrvsXyKMJxrkhTG" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 24 Apr 2025 15:18:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6782 --2mhxKhrvsXyKMJxrkhTG Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 =3D 1.3 IMAGE_ROOTFS_ALIGNMENT =3D 1 size (initial size of IMAGE_ROOTFS) =3D 120840kb size (after applying IMAGE_OVERHEAD_FACTOR ) =3D 157092kb size (after applying IMAGE_ROOTFS_ALIGNMENT ) =3D 157092kb There are more variables involved in the final calculation like 'IMAGE_ROOT= FS_SIZE', 'IMAGE_ROOTFS_EXTRA_SPACE' (calc of base_size2). My suggestion related to variables is to add a sentence like " The variable= s IMAGE_OVERHEAD_FACTOR, IMAGE_ROOTFS_ALIGNMENT , IMAGE_ROOTFS_SIZE, IMAGE_= ROOTFS_EXTRA_SPACE are applied in the final calculation of initramfs size." Br Christos --2mhxKhrvsXyKMJxrkhTG Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
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 =3D 1.3
IMAGE_ROOTFS_ALIGNMENT =3D 1
size (initial size of IMAGE_ROOTFS) =3D 120840kb
size (after applying IMAGE_OVERHEAD_FACTOR ) =3D 1570= 92kb
size (after applying IMAGE_ROOTFS_ALIGNMENT ) =3D 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 var= iables IMAGE_OVERHEAD_FACTOR, IMAGE_ROOTFS_AL= IGNMENT , IMAGE_ROOTFS_SIZE, IMAGE_ROOTFS_EXTRA_SPACE<= /div>
are applied in the final calculation of initramfs size."
 
Br
Christos
 
--2mhxKhrvsXyKMJxrkhTG--