public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] rpi: make example image support Y2038
@ 2022-04-21 17:31 Henning Schild
  2022-05-05 11:45 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Schild @ 2022-04-21 17:31 UTC (permalink / raw)
  To: isar-users; +Cc: Henning Schild

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


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

* Re: [PATCH] rpi: make example image support Y2038
  2022-04-21 17:31 [PATCH] rpi: make example image support Y2038 Henning Schild
@ 2022-05-05 11:45 ` Anton Mikanovich
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2022-05-05 11:45 UTC (permalink / raw)
  To: Henning Schild, isar-users

21.04.2022 20:31, Henning Schild wrote:
> 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>

Applied to next, thanks.


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

end of thread, other threads:[~2022-05-05 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 17:31 [PATCH] rpi: make example image support Y2038 Henning Schild
2022-05-05 11:45 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox