On 11/1/2023 4:28 AM, [email protected] wrote:
From: Dasnavis Sabiya <[email protected]>

Add e2fsprogs-mke2fs and dosfstools for mkfs.ext4 and mkfs.vfat


Right now the only image that is using this package group is the tiny image. And part of the goal of the tiny image is to remain as small as possible.

The intent of the tiny image is to support the initial wakeup efforts. During this time the various hardware settings are not fully known and so external memory and other things do not work. The initramfs is meant to provide the bare minimal OS needed to fit into the on-chip SRAM to figure out those settings. Once those settings are figured out, we never go back to the tiny image.

So what is the need for the mkfs tools in the tiny image? Why not use a bigger image that has these tools in it?



Signed-off-by: Dasnavis Sabiya <[email protected]>
---
  .../packagegroups/packagegroup-arago-initramfs.bb        | 9 +++++++++
  1 file changed, 9 insertions(+)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb
index 380cc0e3..10412784 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-initramfs.bb
@@ -1,4 +1,13 @@
require recipes-core/packagegroups/packagegroup-core-boot.bb +ARAGO_FSTOOLS = "\
+    e2fsprogs-mke2fs \
+    dosfstools \
+    "
+
  RDEPENDS:${PN}:remove = "grub-efi kernel"
+
+RDEPENDS:${PN}:append = "\
+    ${ARAGO_FSTOOLS} \
+    "

--
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14986): 
https://lists.yoctoproject.org/g/meta-arago/message/14986
Mute This Topic: https://lists.yoctoproject.org/mt/102315218/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to