Skip to content

Commit 546966e

Browse files
committed
kernel-6.18: Add VMware bootconfig support
Add VMware bootconfig and corresponding spec entries for kernel 6.18, based on kernel-6.12. Signed-off-by: Gaurav Sharma <mgsharm@amazon.com>
1 parent 5f0a716 commit 546966e

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

packages/kernel-6.18/bootconfig-vmware.conf

Whitespace-only changes.

packages/kernel-6.18/kernel-6.18.spec

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Source224: load-neuron-latest-modules.service
3838

3939
# Bootconfig snippets to adjust the default kernel command line for the platform.
4040
Source300: bootconfig-aws.conf
41+
Source301: bootconfig-vmware.conf
4142

4243
# Help out-of-tree module builds run `make prepare` automatically.
4344
Patch1001: 1001-Makefile-add-prepare-target-for-external-modules.patch
@@ -89,6 +90,7 @@ Requires: (%{name}-mkfs-xfs-conf if %{_cross_os}xfsprogs)
8990

9091
# Pull in platform-dependent boot config snippets.
9192
Requires: (%{name}-bootconfig-aws if %{_cross_os}variant-platform(aws))
93+
Requires: (%{name}-bootconfig-vmware if %{_cross_os}variant-platform(vmware))
9294

9395
# Pull in platform-dependent modules.
9496
%if "%{_cross_arch}" == "x86_64"
@@ -115,6 +117,12 @@ Summary: Boot config snippet for the Linux kernel on AWS
115117
%description bootconfig-aws
116118
%{summary}.
117119

120+
%package bootconfig-vmware
121+
Summary: Boot config snippet for the Linux kernel on VMware
122+
123+
%description bootconfig-vmware
124+
%{summary}.
125+
118126
%package modules
119127
Summary: Modules for the Linux kernel
120128

@@ -396,6 +404,7 @@ install -p -m 0644 %{S:223} %{S:224} %{buildroot}%{_cross_unitdir}
396404
# Install platform-specific bootconfig snippets.
397405
install -d %{buildroot}%{_cross_bootconfigdir}
398406
install -p -m 0644 %{S:300} %{buildroot}%{_cross_bootconfigdir}/05-aws.conf
407+
install -p -m 0644 %{S:301} %{buildroot}%{_cross_bootconfigdir}/05-vmware.conf
399408

400409
%files
401410
%license COPYING LICENSES/preferred/GPL-2.0 LICENSES/exceptions/Linux-syscall-note
@@ -453,6 +462,9 @@ install -p -m 0644 %{S:300} %{buildroot}%{_cross_bootconfigdir}/05-aws.conf
453462
%files bootconfig-aws
454463
%{_cross_bootconfigdir}/05-aws.conf
455464

465+
%files bootconfig-vmware
466+
%{_cross_bootconfigdir}/05-vmware.conf
467+
456468
%files modules
457469
%dir %{_cross_libdir}/modules
458470
%{_cross_libdir}/modules/%{kmajor}

0 commit comments

Comments
 (0)