Skip to content

Commit f086246

Browse files
authored
Enable virtio console by default and build e1000 drivers as modules (#10604)
Enable virtio console by default Because we typically service a hypervised environment, load virtio console by default. Make the e1000 x86 configs modules instead of built-in These drivers are specific for one type of ethernet adapter. Therefore make a module and not built-in by default. The module will be called e1000
1 parent 2564082 commit f086246

11 files changed

Lines changed: 30 additions & 14 deletions

File tree

SPECS-SIGNED/kernel-signed/kernel-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Summary: Signed Linux Kernel for %{buildarch} systems
1111
Name: kernel-signed-%{buildarch}
1212
Version: 6.6.51.1
13-
Release: 4%{?dist}
13+
Release: 5%{?dist}
1414
License: GPLv2
1515
Vendor: Microsoft Corporation
1616
Distribution: Azure Linux
@@ -145,6 +145,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
145145
%exclude /module_info.ld
146146

147147
%changelog
148+
* Thu Oct 03 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-5
149+
- Bump release to match kernel
150+
148151
* Wed Oct 02 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-4
149152
- Bump release to match kernel
150153

SPECS-SIGNED/kernel-uki-signed/kernel-uki-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Summary: Signed Unified Kernel Image for %{buildarch} systems
77
Name: kernel-uki-signed-%{buildarch}
88
Version: 6.6.51.1
9-
Release: 4%{?dist}
9+
Release: 5%{?dist}
1010
License: GPLv2
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -68,6 +68,9 @@ popd
6868
/boot/efi/EFI/Linux/vmlinuz-uki-%{kernelver}.efi
6969

7070
%changelog
71+
* Thu Oct 03 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-5
72+
- Bump release to match kernel
73+
7174
* Wed Oct 02 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-4
7275
- Bump release to match kernel
7376

SPECS/kernel-headers/kernel-headers.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Summary: Linux API header files
1515
Name: kernel-headers
1616
Version: 6.6.51.1
17-
Release: 4%{?dist}
17+
Release: 5%{?dist}
1818
License: GPLv2
1919
Vendor: Microsoft Corporation
2020
Distribution: Azure Linux
@@ -75,6 +75,9 @@ done
7575
%endif
7676

7777
%changelog
78+
* Thu Oct 03 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-5
79+
- Bump release to match kernel
80+
7881
* Wed Oct 02 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-4
7982
- Bump release to match kernel
8083

SPECS/kernel/config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,8 +2673,8 @@ CONFIG_NET_VENDOR_GOOGLE=y
26732673
CONFIG_NET_VENDOR_I825XX=y
26742674
CONFIG_NET_VENDOR_INTEL=y
26752675
CONFIG_E100=m
2676-
CONFIG_E1000=y
2677-
CONFIG_E1000E=y
2676+
CONFIG_E1000=m
2677+
CONFIG_E1000E=m
26782678
CONFIG_E1000E_HWTS=y
26792679
CONFIG_IGB=m
26802680
CONFIG_IGB_HWMON=y
@@ -3328,7 +3328,7 @@ CONFIG_HVC_XEN_FRONTEND=y
33283328
CONFIG_SERIAL_DEV_BUS=y
33293329
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
33303330
# CONFIG_TTY_PRINTK is not set
3331-
CONFIG_VIRTIO_CONSOLE=m
3331+
CONFIG_VIRTIO_CONSOLE=y
33323332
CONFIG_IPMI_HANDLER=m
33333333
CONFIG_IPMI_DMI_DECODE=y
33343334
CONFIG_IPMI_PLAT_DATA=y

SPECS/kernel/kernel-uki.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Summary: Unified Kernel Image
1919
Name: kernel-uki
2020
Version: 6.6.51.1
21-
Release: 4%{?dist}
21+
Release: 5%{?dist}
2222
License: GPLv2
2323
Vendor: Microsoft Corporation
2424
Distribution: Azure Linux
@@ -75,6 +75,9 @@ cp %{buildroot}/boot/vmlinuz-uki-%{kernelver}.efi %{buildroot}/boot/efi/EFI/Linu
7575
/boot/efi/EFI/Linux/vmlinuz-uki-%{kernelver}.efi
7676

7777
%changelog
78+
* Thu Oct 03 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-5
79+
- Bump release to match kernel
80+
7881
* Wed Oct 02 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-4
7982
- Bump release to match kernel
8083

SPECS/kernel/kernel.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Signatures": {
33
"cbl-mariner-ca-20211013.pem": "5ef124b0924cb1047c111a0ecff1ae11e6ad7cac8d1d9b40f98f99334121f0b0",
4-
"config": "bd071455eff0bdd8c93c6cdec7590b05dfe26bfead60fe2df71c2c722af11404",
4+
"config": "2c39e562cc6c0f133df50a576e27e5a89a5d3c5fde8a6ed391cde372129e202f",
55
"config_aarch64": "c496a8275a29735e25105a86db16228e1bdde3d8ce7e0caa72d423b971d6cbda",
66
"cpupower": "d7518767bf2b1110d146a49c7d42e76b803f45eb8bd14d931aa6d0d346fae985",
77
"cpupower.service": "b057fe9e5d0e8c36f485818286b80e3eba8ff66ff44797940e99b1fd5361bb98",

SPECS/kernel/kernel.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Summary: Linux Kernel
3131
Name: kernel
3232
Version: 6.6.51.1
33-
Release: 4%{?dist}
33+
Release: 5%{?dist}
3434
License: GPLv2
3535
Vendor: Microsoft Corporation
3636
Distribution: Azure Linux
@@ -407,6 +407,10 @@ echo "initrd of kernel %{uname_r} removed" >&2
407407
%{_sysconfdir}/bash_completion.d/bpftool
408408

409409
%changelog
410+
* Thu Oct 03 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-5
411+
- Make e1000 drivers modules instead of built-in
412+
- Enable virtio console by default
413+
410414
* Wed Oct 02 2024 Rachel Menge <rachelmenge@microsoft.com> - 6.6.51.1-4
411415
- Enable nfsd v4 security label
412416

toolkit/resources/manifests/package/pkggen_core_aarch64.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
filesystem-1.1-21.azl3.aarch64.rpm
2-
kernel-headers-6.6.51.1-4.azl3.noarch.rpm
2+
kernel-headers-6.6.51.1-5.azl3.noarch.rpm
33
glibc-2.38-8.azl3.aarch64.rpm
44
glibc-devel-2.38-8.azl3.aarch64.rpm
55
glibc-i18n-2.38-8.azl3.aarch64.rpm

toolkit/resources/manifests/package/pkggen_core_x86_64.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
filesystem-1.1-21.azl3.x86_64.rpm
2-
kernel-headers-6.6.51.1-4.azl3.noarch.rpm
2+
kernel-headers-6.6.51.1-5.azl3.noarch.rpm
33
glibc-2.38-8.azl3.x86_64.rpm
44
glibc-devel-2.38-8.azl3.x86_64.rpm
55
glibc-i18n-2.38-8.azl3.x86_64.rpm

toolkit/resources/manifests/package/toolchain_aarch64.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ intltool-0.51.0-7.azl3.noarch.rpm
156156
itstool-2.0.7-1.azl3.noarch.rpm
157157
kbd-2.2.0-2.azl3.aarch64.rpm
158158
kbd-debuginfo-2.2.0-2.azl3.aarch64.rpm
159-
kernel-headers-6.6.51.1-4.azl3.noarch.rpm
159+
kernel-headers-6.6.51.1-5.azl3.noarch.rpm
160160
kmod-30-1.azl3.aarch64.rpm
161161
kmod-debuginfo-30-1.azl3.aarch64.rpm
162162
kmod-devel-30-1.azl3.aarch64.rpm

0 commit comments

Comments
 (0)