From: Claudius Heine <claudius.heine.ext@siemens.com>
To: Henning Schild <henning.schild@siemens.com>
Cc: isar-users@googlegroups.com, Claudius Heine <ch@denx.de>
Subject: Re: [PATCH 1/3] wks: added 'rw' to kernel arguments
Date: Wed, 29 May 2019 08:38:42 +0200 [thread overview]
Message-ID: <175da011-17ce-d1fe-8cab-a493e8b57e2d@siemens.com> (raw)
In-Reply-To: <20190528192955.2abcf9e2@md1za8fc.ad001.siemens.net>
Hi Henning,
On 28/05/2019 19.29, Henning Schild wrote:
> Just looked at recent upstream wic. They do not have the "rw" and are
> probably using their own fstab-stuff.
>
> Can you elaborate why this is required?
After I removed the fstab in the second patch, the root file system was
mounted ro in qemu and the /etc/machine-id could not be recreated. The
easiest solution is to add 'rw' to the kernel cmdline. Since my debian
host has 'ro' in its cmdline, I think those kind of settings are ok
there in debian.
>
> Not that a care about the minimal change in the fork, the patch does
> not motivate it. And there seems to be a difference which would prevent
> us from using random wks files from the internet.
Maybe it would make sense to merge this patch with the next one, since
this fixes a issue that only happens after fstab is removed.
Claudius
>
> Henning
>
> Am Tue, 28 May 2019 10:58:12 +0200
> schrieb "[ext] claudius.heine.ext@siemens.com"
> <claudius.heine.ext@siemens.com>:
>
>> From: Claudius Heine <ch@denx.de>
>>
>> Signed-off-by: Claudius Heine <ch@denx.de>
>> ---
>> meta-isar/scripts/lib/wic/canned-wks/bananapi.wks | 2 +-
>> meta-isar/scripts/lib/wic/canned-wks/directdisk-isar.wks | 2 +-
>> meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks | 2 +-
>> 3 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/meta-isar/scripts/lib/wic/canned-wks/bananapi.wks
>> b/meta-isar/scripts/lib/wic/canned-wks/bananapi.wks index
>> dbec48e..ad8b46f 100644 ---
>> a/meta-isar/scripts/lib/wic/canned-wks/bananapi.wks +++
>> b/meta-isar/scripts/lib/wic/canned-wks/bananapi.wks @@ -2,4 +2,4 @@
>> part u-boot --source rawcopy --sourceparams
>> "file=/usr/lib/u-boot/Bananapi/u-boo part / --source rootfs-u-boot
>> --ondisk mmcblk0 --fstype ext4 --label platform --align 1024
>> -bootloader --append "rootwait"
>> +bootloader --append "rootwait rw"
>> diff --git a/meta-isar/scripts/lib/wic/canned-wks/directdisk-isar.wks
>> b/meta-isar/scripts/lib/wic/canned-wks/directdisk-isar.wks index
>> e78429c..43107b6 100644 ---
>> a/meta-isar/scripts/lib/wic/canned-wks/directdisk-isar.wks +++
>> b/meta-isar/scripts/lib/wic/canned-wks/directdisk-isar.wks @@ -4,4
>> +4,4 @@
>> include common-isar.wks.inc
>>
>> -bootloader --timeout=0 --append "rootwait rootfstype=ext4
>> video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8"
>> +bootloader --timeout=0 --append "rootwait rw rootfstype=ext4
>> video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8" diff
>> --git a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks
>> b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks index
>> 2afa016..f9e49ca 100644 ---
>> a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks +++
>> b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks @@ -6,4 +6,4
>> @@ part /boot --source bootimg-efi-isar --sourceparams
>> "loader=grub-efi" --ondisk s part / --source rootfs --ondisk sda
>> --fstype ext4 --label platform --align 1024 --use-uuid -bootloader
>> --ptable gpt --timeout 3 --append "rootwait console=ttyS0,115200
>> console=tty0" +bootloader --ptable gpt --timeout 3 --append "rw
>> rootwait console=ttyS0,115200 console=tty0"
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
next prev parent reply other threads:[~2019-05-29 6:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 8:58 [PATCH 0/3] Filesystem mounting and machine-id fix claudius.heine.ext
2019-05-28 8:58 ` [PATCH 1/3] wks: added 'rw' to kernel arguments claudius.heine.ext
2019-05-28 17:29 ` Henning Schild
2019-05-29 6:38 ` Claudius Heine [this message]
2019-05-28 8:58 ` [PATCH 2/3] image.bbclass: remove fstab generation claudius.heine.ext
2019-05-28 17:34 ` Henning Schild
2019-05-29 6:47 ` Claudius Heine
2019-05-29 11:11 ` Henning Schild
2019-05-28 8:58 ` [PATCH 3/3] image-postproc-extension: add removal of machine-id claudius.heine.ext
2019-05-28 17:44 ` Henning Schild
2019-05-29 7:00 ` Claudius Heine
2019-05-29 11:06 ` Henning Schild
2019-05-28 19:51 ` Henning Schild
2019-05-29 7:00 ` Matthias Luescher
2019-05-29 7:06 ` Claudius Heine
2019-06-06 17:18 ` Maxim Yu. Osipov
2019-06-04 20:09 ` [PATCH 0/3] Filesystem mounting and machine-id fix Maxim Yu. Osipov
2019-06-05 6:45 ` Claudius Heine
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=175da011-17ce-d1fe-8cab-a493e8b57e2d@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=ch@denx.de \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.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