From 1179c109da729f7c952905b7d64ff7b28611922b Mon Sep 17 00:00:00 2001 From: George Aeillo Date: Wed, 5 Feb 2025 09:50:30 -0500 Subject: [PATCH] Add filesystem fixes required for UEK 6 images to be built on UEK 7 hosts --- build-image/format-disk.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-image/format-disk.sh b/build-image/format-disk.sh index a59844e..ddecb01 100755 --- a/build-image/format-disk.sh +++ b/build-image/format-disk.sh @@ -1,6 +1,6 @@ #! /bin/bash # -# Copyright (c) 2024, Oracle and/or its affiliates. +# Copyright (c) 2024,2025 Oracle and/or its affiliates. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. set -e set -x @@ -36,6 +36,6 @@ BOOT_DEVICE=$(blkid | grep "${DEVICE}" | grep 'PARTLABEL="boot"' | cut -f1 -d' ' # Make filesystems mkfs.fat -F 32 -n "$EFI_PARTITION_LABEL" "$EFI_DEVICE" -mkfs.xfs -f -m bigtime=0 -L "$BOOT_PARTITION_LABEL" "$BOOT_DEVICE" -"mkfs.$FILESYSTEM" -f -L "$ROOT_PARTITION_LABEL" "$ROOT_DEVICE" +mkfs.xfs -f -m bigtime=0,inobtcount=0,reflink=0 -L "$BOOT_PARTITION_LABEL" "$BOOT_DEVICE" +"mkfs.$FILESYSTEM" -f -m bigtime=0,inobtcount=0,reflink=0 -L "$ROOT_PARTITION_LABEL" "$ROOT_DEVICE"