@@ -38,6 +38,7 @@ Source224: load-neuron-latest-modules.service
3838
3939# Bootconfig snippets to adjust the default kernel command line for the platform.
4040Source300: bootconfig-aws.conf
41+ Source301: bootconfig-vmware.conf
4142
4243# Help out-of-tree module builds run `make prepare` automatically.
4344Patch1001: 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.
9192Requires: (%{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
119127Summary: 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.
397405install -d %{buildroot }%{_cross_bootconfigdir }
398406install -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