diff --git a/1002-Disable-xfsprogs-features-support-5.10-kernel.patch b/1002-Disable-xfsprogs-features-support-5.10-kernel.patch new file mode 100644 index 0000000000000000000000000000000000000000..5478ecc0b584b77707839e44090888036b7f3901 --- /dev/null +++ b/1002-Disable-xfsprogs-features-support-5.10-kernel.patch @@ -0,0 +1,33 @@ +From 496aa30572dfccf5761ed5dd5322eff3b76e9d75 Mon Sep 17 00:00:00 2001 +From: "taifu.gc" +Date: Fri, 31 May 2024 03:46:48 +0000 +Subject: [PATCH] Disable xfsprogs params + +--- + mkfs/lts_6.6.conf | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/mkfs/lts_6.6.conf b/mkfs/lts_6.6.conf +index 244f8ea..fc235cc 100644 +--- a/mkfs/lts_6.6.conf ++++ b/mkfs/lts_6.6.conf +@@ -2,13 +2,13 @@ + # kernel was released at the end of 2023. + + [metadata] +-bigtime=1 ++bigtime=0 + crc=1 + finobt=1 +-inobtcount=1 ++inobtcount=0 + reflink=1 + rmapbt=1 + + [inode] + sparse=1 +-nrext64=1 ++nrext64=0 +-- +2.39.3 + diff --git a/xfsprogs.spec b/xfsprogs.spec index 5299095ff763f3952cbeab15e11e19c95491e825..18b4517db6696fc555d9ffdaa8ca2fd2a62aaf2b 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %define lib_dir /usr/lib Name: xfsprogs @@ -33,6 +33,7 @@ Conflicts: xfsdump < 3.0.1 # Begin: Anolis customized patches Patch1001: 1001-xfsprogs-add-atomic-write-support.patch +Patch1002: 1002-Disable-xfsprogs-features-support-5.10-kernel.patch # End: Anolis customized patches %description @@ -160,6 +161,9 @@ rm -rf %{buildroot}/%{abidir}/help %{_libdir}/*.so %changelog +* Wed May 29 2024 Chang Gao - 6.6.0-2 +- Disable some features to compatible with kernel 5.10 + * Wed Mar 13 2024 Yangxinyu - 6.6.0-1 - update to 6.6.0