From: "Iván Castell" <icastell@nayarsystems.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Kickstart file to customize rootfs mount opts not modifying fstab as expected
Date: Wed, 14 Mar 2018 13:16:46 +0100 [thread overview]
Message-ID: <CAALXFYz8FSAKqG8dTYy4Or5kyDPxmQ7-Snws5cVW89CHePEL3g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]
Hello forum.
I want to customize my rootfs partition to be mounted with the
"data=journal" option enabled.
To do that I have modified my layer adding a custom mkefidisk.wks script
with this contents for the rootfs partition:
part / --source rootfs --ondisk sda --fstype=ext4
--fsoptions="data=journal" --label platform --use-uuid --size 80000 --align
1024
According to yocto reference manual:
https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html
The --fsoptions option specifies a free-form string of options to be used
when mounting the filesystem. This string will be copied into the
/etc/fstab file of the installed system and should be enclosed in quotes.
If not specified, the default string is "defaults".
I expected to find a /etc/fstab with "data=journal" on the mounted rootfs.
However, after mounting .ext4 image, this is the /etc/fstab content for the
rootfs partition:
/dev/root / auto defaults
1 1
As you can see, it doesn't contain any reference to "data=journal".
What is wrong with that?
Thanks in advance.
Regards,
-- Ivan
[-- Attachment #2: Type: text/html, Size: 1755 bytes --]
next reply other threads:[~2018-03-14 12:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-14 12:16 Iván Castell [this message]
2018-03-15 12:22 ` Kickstart file to customize rootfs mount opts not modifying fstab as expected Iván Castell
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=CAALXFYz8FSAKqG8dTYy4Or5kyDPxmQ7-Snws5cVW89CHePEL3g@mail.gmail.com \
--to=icastell@nayarsystems.com \
--cc=yocto@yoctoproject.org \
/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 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.