Browse code

Add missing HyperV drivers to initrd

Change-Id: I577498ebbe32b68d4b88373e9a76eb1dfd0a901d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3298
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

suezzelur authored on 2017/07/21 07:29:12
Showing 2 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux-secure
4 4
 Version:        4.9.38
5
-Release:        2%{?dist}
5
+Release:        3%{?dist}
6 6
 License:        GPLv2
7 7
 URL:            http://www.kernel.org/
8 8
 Group:          System Environment/Kernel
... ...
@@ -180,7 +180,7 @@ EOF
180 180
 # Register myself to initramfs
181 181
 mkdir -p %{buildroot}/%{_localstatedir}/lib/initramfs/kernel
182 182
 cat > %{buildroot}/%{_localstatedir}/lib/initramfs/kernel/%{uname_r} << "EOF"
183
+--add-drivers "tmem xen-acpi-processor xen-evtchn xen-gntalloc xen-gntdev xen-privcmd xen-pciback xenfs hv_utils hv_vmbus hv_storvsc hv_netvsc hv_balloon cn"
183 184
 EOF
184 185
 
185 186
 # cleanup dangling symlinks
... ...
@@ -227,6 +227,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
227 227
 /usr/src/linux-headers-%{uname_r}
228 228
 
229 229
 %changelog
230
+*   Fri Jul 21 2017 Anish Swaminathan <anishs@vmware.com> 4.9.38-3
231
+-   Add missing hyperv drivers
230 232
 *   Thu Jul 20 2017 Alexey Makhalov <amakhalov@vmware.com> 4.9.38-2
231 233
 -   Disable scheduler beef up patch
232 234
 *   Tue Jul 18 2017 Alexey Makhalov <amakhalov@vmware.com> 4.9.38-1
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux
4 4
 Version:        4.9.38
5
-Release:        2%{?dist}
5
+Release:        3%{?dist}
6 6
 License:    	GPLv2
7 7
 URL:        	http://www.kernel.org/
8 8
 Group:        	System Environment/Kernel
... ...
@@ -180,7 +180,7 @@ EOF
180 180
 # Register myself to initramfs
181 181
 mkdir -p %{buildroot}/%{_localstatedir}/lib/initramfs/kernel
182 182
 cat > %{buildroot}/%{_localstatedir}/lib/initramfs/kernel/%{uname_r} << "EOF"
183
+--add-drivers "tmem xen-acpi-processor xen-evtchn xen-gntalloc xen-gntdev xen-privcmd xen-pciback xenfs hv_utils hv_vmbus hv_storvsc hv_netvsc hv_balloon cn"
183 184
 EOF
184 185
 
185 186
 #    Cleanup dangling symlinks
... ...
@@ -267,6 +267,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
267 267
 /usr/share/doc/*
268 268
 
269 269
 %changelog
270
+*   Fri Jul 21 2017 Anish Swaminathan <anishs@vmware.com> 4.9.38-3
271
+-   Add missing hyperv drivers
270 272
 *   Thu Jul 20 2017 Alexey Makhalov <amakhalov@vmware.com> 4.9.38-2
271 273
 -   Disable scheduler beef up patch
272 274
 *   Tue Jul 18 2017 Alexey Makhalov <amakhalov@vmware.com> 4.9.38-1