diff mbox series

[isar-cip-core,9/9] wic: Address y2038 warnings of latest Isar

Message ID 0d643236aa68d265bc0b7740655dbcf01cc1f8c5.1625660195.git.jan.kiszka@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Varions Updates: bullseye, kernel, kas, isar | expand

Commit Message

Jan Kiszka July 7, 2021, 12:16 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Set ext4 defaults that prevent generating y2038-affected filesystems.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 wic/bbb.wks                | 2 +-
 wic/simatic-ipc227e.wks    | 2 +-
 wic/swupdate-partition.inc | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/wic/bbb.wks b/wic/bbb.wks
index 12930a3..17b85f1 100644
--- a/wic/bbb.wks
+++ b/wic/bbb.wks
@@ -9,6 +9,6 @@ 
 part --source rawcopy --sourceparams "file=/usr/lib/u-boot/am335x_boneblack/MLO" --no-table --align 128
 part --source rawcopy --sourceparams "file=/usr/lib/u-boot/am335x_boneblack/u-boot.img" --no-table --align 384
 
-part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --label platform --align 1024 --active
+part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --active
 
 bootloader --append "rootwait console=ttyO,115200"
diff --git a/wic/simatic-ipc227e.wks b/wic/simatic-ipc227e.wks
index 5d335a1..d0081f7 100644
--- a/wic/simatic-ipc227e.wks
+++ b/wic/simatic-ipc227e.wks
@@ -8,6 +8,6 @@ 
 
 part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk sda --label efi --part-type EF00 --align 1024
 
-part / --source rootfs --ondisk sda --fstype ext4 --label platform --align 1024 --use-uuid
+part / --source rootfs --ondisk sda --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid
 
 bootloader --ptable gpt --timeout 2 --append "console=ttyS0,115200"
diff --git a/wic/swupdate-partition.inc b/wic/swupdate-partition.inc
index 7bec9d7..6912542 100644
--- a/wic/swupdate-partition.inc
+++ b/wic/swupdate-partition.inc
@@ -1,2 +1,2 @@ 
-part --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000001" --size 1000M   --extra-space 128M --overhead-factor 1 --label systema --align 1024 --fstype=ext4
-part  --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000002" --size 1000M   --extra-space 128M --overhead-factor 1 --label systemb --align 1024 --fstype=ext4
+part --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000001" --size 1000M   --extra-space 128M --overhead-factor 1 --label systema --align 1024 --fstype=ext4 --mkfs-extraopts "-T default"
+part  --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000002" --size 1000M   --extra-space 128M --overhead-factor 1 --label systemb --align 1024 --fstype=ext4 --mkfs-extraopts "-T default"