meta-arago.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Chirag Shilwant <c-shilwant@ti.com>
To: Denys Dmytriyenko <denis@denix.org>, Ryan Eatmon <reatmon@ti.com>,
	<meta-arago@lists.yoctoproject.org>
Cc: Gyan Gupta <g-gupta@ti.com>
Subject: [meta-arago][master/scarthgap][PATCH] meta-arago-distro: recipes-core: Add no-fstab-update option to WIC_CREATE_EXTRA_ARG
Date: Sat, 20 Apr 2024 18:23:18 +0530	[thread overview]
Message-ID: <20240420125318.397900-1-c-shilwant@ti.com> (raw)

- 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



             reply	other threads:[~2024-04-20 12:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-20 12:53 Chirag Shilwant [this message]
2024-04-21  3:07 ` [meta-arago][master/scarthgap][PATCH] meta-arago-distro: recipes-core: Add no-fstab-update option to WIC_CREATE_EXTRA_ARG 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240420125318.397900-1-c-shilwant@ti.com \
    --to=c-shilwant@ti.com \
    --cc=denis@denix.org \
    --cc=g-gupta@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).