From: Henning Schild <henning.schild@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Cc: Henning Schild <henning.schild@siemens.com>
Subject: [PATCH] rpi: make example image support Y2038
Date: Thu, 21 Apr 2022 19:31:34 +0200 [thread overview]
Message-ID: <20220421173134.13686-1-henning.schild@siemens.com> (raw)
In the build we actually receive a warning
WARNING: mc:rpi-arm-bullseye:isar-image-base-1.0-r0 do_wic_image:
WARNING: The ext2 filesystem mounted at / has no Y2038 support.
This commit switches over to ext4 and appends the mke2fs args we need to
handle y2038, with it the warning is gone. And people that might take
that wks will not see a bad example.
Tested on a "Raspberry Pi 3 Model B Rev 1.2"
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
meta-isar/scripts/lib/wic/canned-wks/rpi-sdimg.wks | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-isar/scripts/lib/wic/canned-wks/rpi-sdimg.wks b/meta-isar/scripts/lib/wic/canned-wks/rpi-sdimg.wks
index c788213b2a4d..e5a3668b8f26 100644
--- a/meta-isar/scripts/lib/wic/canned-wks/rpi-sdimg.wks
+++ b/meta-isar/scripts/lib/wic/canned-wks/rpi-sdimg.wks
@@ -1,5 +1,5 @@
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 10
-part / --source rootfs --ondisk mmcblk0 --fstype=ext2 --label root --align 4096 --exclude-path=boot
+part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --mkfs-extraopts "-T default" --label root --align 4096 --exclude-path=boot
bootloader
--
2.35.1
next reply other threads:[~2022-04-21 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-21 17:31 Henning Schild [this message]
2022-05-05 11:45 ` Anton Mikanovich
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=20220421173134.13686-1-henning.schild@siemens.com \
--to=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