Skip to content

Commit b6a8be4

Browse files
committed
update: modified kernel 5.15 consume config files
1 parent 8c76fbb commit b6a8be4

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

packages/kernel-5.15/kernel-5.15.spec

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Source100: config-bottlerocket
1616
Source220: neuron-sysinit.target.drop-in.conf
1717
1818

19+
# XFS configuration
20+
Source300: mkfs.xfs.conf
21+
1922
# Help out-of-tree module builds run `make prepare` automatically.
2023
Patch1001: 1001-Makefile-add-prepare-target-for-external-modules.patch
2124
# Expose tools/* targets for out-of-tree module builds.
@@ -81,6 +84,12 @@ Summary: Modules for the Linux kernel
8184
%description modules
8285
%{summary}.
8386

87+
%package mkfs-confs
88+
Summary: mkfs configurations for different file systems
89+
90+
%description mkfs-confs
91+
%{summary}.
92+
8493
%if "%{_cross_arch}" == "x86_64"
8594
%package modules-neuron
8695
Summary: Modules for the Linux kernel with Neuron hardware
@@ -285,6 +294,9 @@ mkdir -p %{buildroot}%{_cross_unitdir}/[email protected]
285294
install -p -m 0644 %{S:221} %{buildroot}%{_cross_unitdir}/[email protected]/neuron.conf
286295
%endif
287296

297+
mkdir -p %{buildroot}%{_cross_datadir}/xfs
298+
install -p -m 0644 %{S:300} %{buildroot}%{_cross_datadir}/xfs/mkfs.xfs.conf
299+
288300
%files
289301
%license COPYING LICENSES/preferred/GPL-2.0 LICENSES/exceptions/Linux-syscall-note
290302
%{_cross_attribution_file}
@@ -334,4 +346,7 @@ install -p -m 0644 %{S:221} %{buildroot}%{_cross_unitdir}/[email protected]
334346
%files archive
335347
%{_cross_datadir}/bottlerocket/kernel-devel.tar.xz
336348

349+
%files mkfs-confs
350+
%{_cross_datadir}/xfs/mkfs.xfs.conf
351+
337352
%changelog

packages/kernel-5.15/mkfs.xfs.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# V5 features that were the mkfs defaults when the upstream Linux 5.15 LTS
2+
# kernel was released at the end of 2021.
3+
4+
[inode]
5+
nrext64=0

0 commit comments

Comments
 (0)