Browse code

Add missing xen block drivers to initrd

Change-Id: I9dffcd94043a6b2e28c9d5336ccfb6ea6a75517e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3615
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

suezzelur authored on 2017/08/23 11:15:44
Showing 2 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux-secure
4 4
 Version:        4.9.43
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 License:        GPLv2
7 7
 URL:            http://www.kernel.org/
8 8
 Group:          System Environment/Kernel
... ...
@@ -210,7 +210,7 @@ EOF
210 210
 # Register myself to initramfs
211 211
 mkdir -p %{buildroot}/%{_localstatedir}/lib/initramfs/kernel
212 212
 cat > %{buildroot}/%{_localstatedir}/lib/initramfs/kernel/%{uname_r} << "EOF"
213
+--add-drivers "tmem xen-scsifront xen-blkfront xen-acpi-processor xen-evtchn xen-gntalloc xen-gntdev xen-privcmd xen-pciback xenfs hv_utils hv_vmbus hv_storvsc hv_netvsc hv_sock hv_balloon cn"
213 214
 EOF
214 215
 
215 216
 # cleanup dangling symlinks
... ...
@@ -257,6 +257,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
257 257
 /usr/src/linux-headers-%{uname_r}
258 258
 
259 259
 %changelog
260
+*   Tue Aug 22 2017 Anish Swaminathan <anishs@vmware.com> 4.9.43-2
261
+-   Add missing xen block drivers
260 262
 *   Mon Aug 14 2017 Alexey Makhalov <amakhalov@vmware.com> 4.9.43-1
261 263
 -   Version update
262 264
 -   [feature] new sysctl option unprivileged_userns_clone
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux
4 4
 Version:        4.9.43
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 License:    	GPLv2
7 7
 URL:        	http://www.kernel.org/
8 8
 Group:        	System Environment/Kernel
... ...
@@ -210,7 +210,7 @@ EOF
210 210
 # Register myself to initramfs
211 211
 mkdir -p %{buildroot}/%{_localstatedir}/lib/initramfs/kernel
212 212
 cat > %{buildroot}/%{_localstatedir}/lib/initramfs/kernel/%{uname_r} << "EOF"
213
+--add-drivers "tmem xen-scsifront xen-blkfront xen-acpi-processor xen-evtchn xen-gntalloc xen-gntdev xen-privcmd xen-pciback xenfs hv_utils hv_vmbus hv_storvsc hv_netvsc hv_sock hv_balloon cn"
213 214
 EOF
214 215
 
215 216
 #    Cleanup dangling symlinks
... ...
@@ -297,6 +297,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
297 297
 /usr/share/doc/*
298 298
 
299 299
 %changelog
300
+*   Tue Aug 22 2017 Anish Swaminathan <anishs@vmware.com> 4.9.43-2
301
+-   Add missing xen block drivers
300 302
 *   Mon Aug 14 2017 Alexey Makhalov <amakhalov@vmware.com> 4.9.43-1
301 303
 -   Version update
302 304
 -   [feature] new sysctl option unprivileged_userns_clone