commit:     4e16bb9c4e11e2c2bec85edbc101262b43ab5d4e
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 11:20:45 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 11:20:45 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4e16bb9c

Make xfs compatible with 5.15 kernels

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 targets/support/create-qcow2.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/targets/support/create-qcow2.sh b/targets/support/create-qcow2.sh
index 0073a25c..c47284fb 100755
--- a/targets/support/create-qcow2.sh
+++ b/targets/support/create-qcow2.sh
@@ -125,7 +125,8 @@ echo "Making a vfat filesystem in p1"
 mkfs.fat -v -F 32 -n gentooefi ${mypartefi} || qcow2die "Formatting EFI 
partition failed"
 
 echo "Making an xfs filesystem in p2"
-mkfs.xfs -L gentooroot ${mypartroot} || qcow2die "Formatting root partition 
failed"
+# nrext64=0 is needed for compatibility with 5.15 kernels
+mkfs.xfs -i nrext64=0 -L gentooroot ${mypartroot} || qcow2die "Formatting root 
partition failed"
 
 echo "Printing blkid output"
 blkid ${mydevice}* || qcow2die "blkid failed"

Reply via email to