Skip to content

Commit

Permalink
ERL-481: nemos-images-reference-*: *: disable bigtime feature on xfs
Browse files Browse the repository at this point in the history
The bigtime feature can cause issues when trying to build on older host
systems (i.e. systems with kernel <5.10). Disable it so that we can use
such systems as build hosts, and add a comment that this should be
removed when it's no longer required.

Signed-off-by: Isaac True <isaac.true@canonical.com>
  • Loading branch information
IsaacJT committed Nov 21, 2023
1 parent a592d48 commit c0d7c2b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nemos-images-reference-lunar/qemu-amd64/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<preferences>
<version>1.0.1</version>
<packagemanager>apt</packagemanager>
<!-- NOTE: bigtime is disabled in fscreateoptions to ensure compatibility with older kernels
running on the build hosts. Remove this once it is no longer necessary! -->
<type image="oem" filesystem="xfs" firmware="efi" initrd_system="dracut"
overlayroot="true" overlayroot_write_partition="true"
fscreateoptions="-m bigtime=0"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
kernelcmdline="console=ttyS0 rd.systemd.verity=1 root=overlay:MAPPER=verityRoot verityroot=/dev/disk/by-partlabel/p.lxreadonly rd.root.overlay.write=/dev/mapper/luks rd.luks=yes rootwait pstore.backend=efi"
Expand Down
3 changes: 3 additions & 0 deletions nemos-images-reference-lunar/qemu-arm64/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<preferences>
<version>1.0.1</version>
<packagemanager>apt</packagemanager>
<!-- NOTE: bigtime is disabled in fscreateoptions to ensure compatibility with older kernels
running on the build hosts. Remove this once it is no longer necessary! -->
<type image="oem" filesystem="xfs" firmware="efi" initrd_system="dracut"
overlayroot="true" overlayroot_write_partition="true"
fscreateoptions="-m bigtime=0"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
kernelcmdline="console=ttyS0 rd.systemd.verity=1 root=overlay:MAPPER=verityRoot verityroot=/dev/disk/by-partlabel/p.lxreadonly rd.root.overlay.write=/dev/mapper/luks rd.luks=yes pstore.backend=efi"
Expand Down
3 changes: 3 additions & 0 deletions nemos-images-reference-lunar/s32g274ardb2/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<preferences>
<version>1.0.1</version>
<packagemanager>apt</packagemanager>
<!-- NOTE: bigtime is disabled in fscreateoptions to ensure compatibility with older kernels
running on the build hosts. Remove this once it is no longer necessary! -->
<type image="oem" filesystem="xfs" firmware="custom" initrd_system="dracut"
overlayroot="true" overlayroot_write_partition="true" disk_start_sector="8192"
fscreateoptions="-m bigtime=0"
dosparttable_extended_layout="true" force_mbr="true" devicepersistency="by-uuid"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
Expand Down
3 changes: 3 additions & 0 deletions nemos-images-reference-mantic/qemu-amd64/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<preferences>
<version>1.0.1</version>
<packagemanager>apt</packagemanager>
<!-- NOTE: bigtime is disabled in fscreateoptions to ensure compatibility with older kernels
running on the build hosts. Remove this once it is no longer necessary! -->
<type image="oem" filesystem="xfs" firmware="efi" initrd_system="dracut"
overlayroot="true" overlayroot_write_partition="true"
fscreateoptions="-m bigtime=0"
editbootconfig="install_grub.sh"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
Expand Down
3 changes: 3 additions & 0 deletions nemos-images-reference-mantic/qemu-arm64/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<preferences>
<version>1.0.1</version>
<packagemanager>apt</packagemanager>
<!-- NOTE: bigtime is disabled in fscreateoptions to ensure compatibility with older kernels
running on the build hosts. Remove this once it is no longer necessary! -->
<type image="oem" filesystem="xfs" firmware="efi" initrd_system="dracut"
overlayroot="true" overlayroot_write_partition="true"
fscreateoptions="-m bigtime=0"
editbootconfig="install_grub.sh"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
Expand Down
3 changes: 3 additions & 0 deletions nemos-images-reference-mantic/s32g274ardb2/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<preferences>
<version>1.0.1</version>
<packagemanager>apt</packagemanager>
<!-- NOTE: bigtime is disabled in fscreateoptions to ensure compatibility with older kernels
running on the build hosts. Remove this once it is no longer necessary! -->
<type image="oem" filesystem="xfs" firmware="custom" initrd_system="dracut"
overlayroot="true" overlayroot_write_partition="true" disk_start_sector="8192"
fscreateoptions="-m bigtime=0"
dosparttable_extended_layout="true" force_mbr="true" devicepersistency="by-uuid"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
Expand Down

0 comments on commit c0d7c2b

Please sign in to comment.