All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-arago][master/scarthgap][PATCH] meta-arago-distro: recipes-core: Add no-fstab-update option to WIC_CREATE_EXTRA_ARG
@ 2024-04-20 12:53 Chirag Shilwant
  2024-04-21  3:07 ` Denys Dmytriyenko
  0 siblings, 1 reply; 11+ messages in thread
From: Chirag Shilwant @ 2024-04-20 12:53 UTC (permalink / raw)
  To: Denys Dmytriyenko, Ryan Eatmon, meta-arago; +Cc: Gyan Gupta

- Ideally running `ls /boot/` in filesystem should list contents from /rootfs/boot partition
but currently it lists the contents of /boot partition of the WIC Image.

Eg - Incase of AM64x,
```
    root@am64xx-evm:~# ls /boot/
    EFI  Image  tiboot3-am64x-gp-evm.bin  tiboot3-am64x_sr2-hs-evm.bin  tiboot3-am64x_sr2-hs-fs-evm.bin  tiboot3.bin  tispl.bin  u-boot.img  uEnv.txt

```

- To fix this issue, add --no-fstab-update flag to WIC_CREATE_EXTRA_ARG in arago-image.inc
to prevent WIC image from adding an additional entry in /etc/fstab.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
---
 meta-arago-distro/recipes-core/images/arago-image.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc
index 00308b57..2a34a709 100644
--- a/meta-arago-distro/recipes-core/images/arago-image.inc
+++ b/meta-arago-distro/recipes-core/images/arago-image.inc
@@ -31,4 +31,6 @@ BAD_RECOMMENDATIONS += " \
 "
 BAD_RECOMMENDATIONS += "${@oe.utils.conditional("INIT_MANAGER", "sysvinit", "", "busybox-syslog", d)}"
 
+WIC_CREATE_EXTRA_ARGS += " --no-fstab-update"
+
 inherit core-image remove-net-rules
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-25  9:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-20 12:53 [meta-arago][master/scarthgap][PATCH] meta-arago-distro: recipes-core: Add no-fstab-update option to WIC_CREATE_EXTRA_ARG Chirag Shilwant
2024-04-21  3:07 ` Denys Dmytriyenko
2024-04-21  9:12   ` Chirag Shilwant
2024-04-21 18:19     ` Jon Cormier
2024-04-22 22:32     ` Denys Dmytriyenko
2024-04-23  0:05       ` Jon Cormier
2024-04-24 20:08         ` Denys Dmytriyenko
2024-04-24 13:32       ` Ryan Eatmon
2024-04-24 20:10         ` Denys Dmytriyenko
2024-04-25  5:02           ` Chirag Shilwant
     [not found]           ` <17C96D5BC5250FE5.19690@lists.yoctoproject.org>
2024-04-25  9:13             ` [EXTERNAL] " Chirag Shilwant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.