Change-Id: Id96dad27ea3f603c3206723a2e73bd852b8b2fe1
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5604
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: michellew <michellew@vmware.com>
| ... | ... |
@@ -1,30 +1,29 @@ |
| 1 | 1 |
# FIXME: noarch or generate debuginfo |
| 2 | 2 |
%define debug_package %{nil}
|
| 3 | 3 |
|
| 4 |
-Summary: initramfs |
|
| 5 |
-Name: initramfs |
|
| 6 |
-Version: 1.0 |
|
| 7 |
-Release: 9%{?kernelsubrelease}%{?dist}
|
|
| 8 |
-License: Apache License |
|
| 9 |
-Group: System Environment/Base |
|
| 10 |
-Source: photon-release-1.0.2.tar.gz |
|
| 11 |
-%define sha1 photon-release=4c03ec658315e25873e5e5f3e77c0006ddfeecc6 |
|
| 12 |
-Vendor: VMware, Inc. |
|
| 13 |
-Distribution: Photon |
|
| 14 |
-Provides: initramfs |
|
| 15 |
-BuildRequires: linux = %{KERNEL_VERSION}-%{KERNEL_RELEASE}
|
|
| 16 |
-BuildRequires: dracut |
|
| 17 |
-BuildRequires: ostree |
|
| 18 |
-BuildRequires: e2fsprogs |
|
| 19 |
-BuildRequires: lvm2-libs |
|
| 20 |
-BuildRequires: lvm2 |
|
| 21 |
-Requires: linux = %{KERNEL_VERSION}-%{KERNEL_RELEASE}
|
|
| 4 |
+Summary: initramfs |
|
| 5 |
+Name: initramfs |
|
| 6 |
+Version: 1.0 |
|
| 7 |
+Release: 10%{?kernelsubrelease}%{?dist}
|
|
| 8 |
+License: Apache License |
|
| 9 |
+Group: System Environment/Base |
|
| 10 |
+Source: %{name}-%{version}.tar.gz
|
|
| 11 |
+%define sha1 initramfs=9bdba4e4c13788838bc41bbf7d888e327c8783de |
|
| 12 |
+Vendor: VMware, Inc. |
|
| 13 |
+Distribution: Photon |
|
| 14 |
+Provides: initramfs |
|
| 15 |
+BuildRequires: linux = %{KERNEL_VERSION}-%{KERNEL_RELEASE}
|
|
| 16 |
+BuildRequires: dracut |
|
| 17 |
+BuildRequires: ostree |
|
| 18 |
+BuildRequires: e2fsprogs |
|
| 19 |
+BuildRequires: lvm2-libs |
|
| 20 |
+BuildRequires: lvm2 |
|
| 21 |
+Requires: linux = %{KERNEL_VERSION}-%{KERNEL_RELEASE}
|
|
| 22 | 22 |
|
| 23 | 23 |
%description |
| 24 | 24 |
Photon release files such as yum configs and other /etc/ release related files |
| 25 | 25 |
|
| 26 | 26 |
%prep |
| 27 |
-%setup -q -n photon-release-1.0.2 |
|
| 28 | 27 |
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 |
| 29 | 28 |
|
| 30 | 29 |
echo 'add_dracutmodules+="ostree systemd"' > /etc/dracut.conf.d/ostree.conf |
| ... | ... |
@@ -47,6 +46,8 @@ rm -rf $RPM_BUILD_ROOT |
| 47 | 47 |
/boot/initrd.img-%{KERNEL_VERSION}-%{KERNEL_RELEASE}
|
| 48 | 48 |
|
| 49 | 49 |
%changelog |
| 50 |
+* Thu Sep 6 2018 Michelle Wang <michellew@vmware.com> 1.0-10 |
|
| 51 |
+- Add source file for initramfs for OSSTP |
|
| 50 | 52 |
* Wed Jul 11 2018 Dweep Advani <dadvani@vmware.com> 1.0-9 |
| 51 | 53 |
- Add LVM driver for root on LVM |
| 52 | 54 |
* Wed Jul 12 2017 Anish Swaminathan <anishs@vmware.com> 1.0-8 |