Browse code

Add missing hyperV drivers to initrd

Change-Id: I0bb2c863435310e9d38bba3e46e214376ad22dd7
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3238
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>

suezzelur authored on 2017/07/14 05:43:49
Showing 2 changed files
... ...
@@ -8,3 +8,4 @@ stage
8 8
 discus-cache/
9 9
 output-*/
10 10
 tools/bin/
11
+common/data/pkg_info.json
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	initramfs
2 2
 Name:		initramfs
3 3
 Version:	1.0
4
-Release:	7%{?kernelsubrelease}%{?dist}
4
+Release:	8%{?kernelsubrelease}%{?dist}
5 5
 License:	Apache License
6 6
 Group:		System Environment/Base
7 7
 Source:		photon-release-1.0.2.tar.gz
... ...
@@ -20,7 +20,7 @@ Photon release files such as yum configs and other /etc/ release related files
20 20
 
21 21
 %prep
22 22
 %setup -q -n photon-release-1.0.2
23
-echo 'add_drivers+="tmem xen-acpi-processor xen-evtchn xen-gntalloc xen-gntdev xen-privcmd xen-pciback xenfs hv_ballon hv_utils hv_vmbus cn"' >> /etc/dracut.conf
23
+echo 'add_drivers+="tmem xen-acpi-processor xen-evtchn xen-gntalloc xen-gntdev xen-privcmd xen-pciback xenfs hv_ballon hv_utils hv_vmbus hv_storvsc hv_netvsc cn"' >> /etc/dracut.conf
24 24
 
25 25
 echo 'add_dracutmodules+=" ostree systemd "' > /etc/dracut.conf.d/ostree.conf
26 26
 
... ...
@@ -42,6 +42,8 @@ rm -rf $RPM_BUILD_ROOT
42 42
 /boot/initrd.img-%{KERNEL_VERSION}-%{KERNEL_RELEASE}
43 43
 
44 44
 %changelog
45
+*   Wed Jul 12 2017 Anish Swaminathan <anishs@vmware.com>  1.0-8
46
+-   Add missing hyperv driver
45 47
 *   Wed Nov 30 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0-7
46 48
 -   Expand uname -r to have release number
47 49
 *   Wed Nov 23 2016 Anish Swaminathan <anishs@vmware.com>  1.0-6