|
|
5774441 |
Name: diskimage-builder
|
|
|
5774441 |
Summary: Image building tools for OpenStack
|
|
|
61daffb |
Version: 0.1.34
|
|
|
809855e |
Release: 15%{?dist}
|
|
|
5774441 |
License: ASL 2.0
|
|
|
5774441 |
Group: System Environment/Base
|
|
|
5774441 |
URL: https://launchpad.net/diskimage-builder
|
|
|
b8ad3df |
Source0: http://tarballs.openstack.org/diskimage-builder/%{name}-%{version}.tar.gz
|
|
|
5774441 |
|
|
|
61daffb |
Patch0001: 0001-svc-map-requires-PyYAML.patch
|
|
|
cbf4ab0 |
Patch0002: 0002-Enable-dracut-deploy-ramdisks.patch
|
|
|
b7ccb27 |
Patch0003: 0003-Move-busybox-binary-dep-to-ramdisk-element.patch
|
|
|
ce2892f |
Patch0004: 0004-Unset-trap-before-dracut-ramdisk-build-script-exits.patch
|
|
|
8d6dde7 |
Patch0005: 0005-Install-lsb_release-from-package.patch
|
|
|
7b83c8e |
Patch0006: 0006-Simplify-Dracut-cmdline-script.patch
|
|
|
d93ebf1 |
Patch0007: 0007-Use-binary-deps.d-for-dracut-ramdisks.patch
|
|
|
73dd369 |
Patch0008: 0008-Remove-duplicate-binary-deps-from-dracut-ramdisk.patch
|
|
|
20e6896 |
Patch0009: 0009-Enable-RHEL-Registration.patch
|
|
|
8cba364 |
Patch0010: 0010-Update-RHEL-Registration.patch
|
|
|
ac6eb02 |
Patch0011: 0011-Allow-source-repositories-to-be-disabled-completely.patch
|
|
|
2b0a338 |
Patch0012: 0012-Allow-injecting-arbitrary-yum-repo-configuration.patch
|
|
|
809855e |
Patch0013: 0013-Convert-deploy-ramdisk-to-targetcli.patch
|
|
|
50810b6 |
|
|
|
5774441 |
BuildArch: noarch
|
|
|
5774441 |
BuildRequires: python2-devel
|
|
|
5774441 |
BuildRequires: python-setuptools
|
|
|
b8ad3df |
BuildRequires: python-d2to1
|
|
|
b8ad3df |
BuildRequires: python-pbr
|
|
|
5774441 |
|
|
|
5774441 |
Requires: kpartx
|
|
|
5774441 |
Requires: qemu-img
|
|
|
b8ad3df |
Requires: curl
|
|
|
daab1d1 |
Requires: python-argparse
|
|
|
daab1d1 |
Requires: python-babel
|
|
|
64620ef |
Requires: tar
|
|
|
12ae458 |
Requires: dib-utils
|
|
|
5774441 |
|
|
|
5774441 |
%prep
|
|
|
b8ad3df |
%setup -q -n %{name}-%{version}
|
|
|
5774441 |
|
|
|
50810b6 |
%patch0001 -p1
|
|
|
cbf4ab0 |
%patch0002 -p1
|
|
|
b7ccb27 |
%patch0003 -p1
|
|
|
ce2892f |
%patch0004 -p1
|
|
|
8d6dde7 |
%patch0005 -p1
|
|
|
7b83c8e |
%patch0006 -p1
|
|
|
d93ebf1 |
%patch0007 -p1
|
|
|
73dd369 |
%patch0008 -p1
|
|
|
20e6896 |
%patch0009 -p1
|
|
|
8cba364 |
%patch0010 -p1
|
|
|
ac6eb02 |
%patch0011 -p1
|
|
|
2b0a338 |
%patch0012 -p1
|
|
|
809855e |
%patch0013 -p1
|
|
|
50810b6 |
|
|
|
5774441 |
%build
|
|
|
5774441 |
%{__python} setup.py build
|
|
|
5774441 |
|
|
|
5774441 |
%install
|
|
|
5774441 |
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
5774441 |
|
|
|
5774441 |
mkdir -p %{buildroot}%{_datadir}/%{name}/lib
|
|
|
5774441 |
mkdir -p %{buildroot}%{_datadir}/%{name}/elements
|
|
|
5774441 |
|
|
|
b8ad3df |
install -p -D -m 644 lib/* %{buildroot}%{_datadir}/%{name}/lib
|
|
|
b8ad3df |
cp -vr elements/ %{buildroot}%{_datadir}/%{name}
|
|
|
5774441 |
|
|
|
38c1271 |
# explicitly remove config-applier since it does a pip install
|
|
|
38c1271 |
rm -rf %{buildroot}%{_datadir}/%{name}/elements/config-applier
|
|
|
38c1271 |
|
|
|
12ae458 |
# This file is being split out of diskimage-builder, so remove it to
|
|
|
12ae458 |
# avoid conflicts with the new package.
|
|
|
12ae458 |
rm -f %{buildroot}%{_bindir}/dib-run-parts
|
|
|
12ae458 |
|
|
|
aa2702a |
# Patch 0002-Move-install-bin-from-rpm-distro-to-yum.patch
|
|
|
aa2702a |
# creates a new file, but the perms are not set correctly when patch runs
|
|
|
aa2702a |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/yum/pre-install.d/01-yum-install-bin
|
|
|
115b85d |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/dracut-ramdisk/extra-data.d/scripts/module/deploy-cmdline.sh
|
|
|
115b85d |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/dracut-ramdisk/extra-data.d/scripts/module/module-setup.sh
|
|
|
115b85d |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/dracut-ramdisk/install.d/20-install-dracut-deps
|
|
|
115b85d |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/dracut-ramdisk/post-install.d/99-build-dracut-ramdisk
|
|
|
a6b91ee |
# Patch 0007-Use-binary-deps.d-for-dracut-ramdisks.patch has the same issue
|
|
|
a6b91ee |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/ramdisk-base/post-install.d/01-ensure-binaries
|
|
|
68e7386 |
# As does patch 0009-Enable-RHEL-Registration.patch
|
|
|
68e7386 |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/rhel-common/finalise.d/99-unregister
|
|
|
68e7386 |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/rhel-common/os-refresh-config/pre-configure.d/06-rhel-registration
|
|
|
68e7386 |
chmod +x %{buildroot}/%{_datadir}/%{name}/elements/rhel-common/pre-install.d/00-rhel-registration
|
|
|
aa2702a |
|
|
|
5774441 |
%description
|
|
|
5774441 |
Components of TripleO that are responsible for building disk images.
|
|
|
5774441 |
|
|
|
5774441 |
%files
|
|
|
5774441 |
%doc LICENSE
|
|
|
5774441 |
%doc docs/ci.md
|
|
|
5774441 |
%{_bindir}/*
|
|
|
5774441 |
%{python_sitelib}/diskimage_builder*
|
|
|
5774441 |
%{_datadir}/%{name}/lib
|
|
|
5774441 |
%{_datadir}/%{name}/elements
|
|
|
5774441 |
|
|
|
5774441 |
%changelog
|
|
|
809855e |
* Sat Dec 06 2014 James Slagle <jslagle@redhat.com> 0.1.34-15
|
|
|
809855e |
- Convert deploy ramdisk to targetcli
|
|
|
809855e |
|
|
|
2b0a338 |
* Thu Dec 04 2014 James Slagle <jslagle@redhat.com> 0.1.34-14
|
|
|
2b0a338 |
- Allow injecting arbitrary yum repo configuration
|
|
|
2b0a338 |
|
|
|
ac6eb02 |
* Fri Nov 21 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-13
|
|
|
ac6eb02 |
- Allow source-repositories to be disabled completely
|
|
|
ac6eb02 |
|
|
|
8cba364 |
* Thu Nov 20 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-12
|
|
|
8cba364 |
- Update RHEL Registration
|
|
|
8cba364 |
|
|
|
20e6896 |
* Tue Nov 18 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-11
|
|
|
20e6896 |
- Enable RHEL Registration
|
|
|
20e6896 |
|
|
|
73dd369 |
* Fri Nov 14 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-10
|
|
|
73dd369 |
- Remove duplicate binary-deps from dracut-ramdisk
|
|
|
73dd369 |
|
|
|
a6b91ee |
* Fri Nov 14 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-9
|
|
|
a6b91ee |
- Fix perms on binary-deps patch
|
|
|
a6b91ee |
|
|
|
d93ebf1 |
* Fri Nov 14 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-8
|
|
|
d93ebf1 |
- Use binary-deps.d for dracut ramdisks
|
|
|
d93ebf1 |
|
|
|
7b83c8e |
* Thu Nov 13 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-7
|
|
|
7b83c8e |
- Simplify Dracut cmdline script
|
|
|
7b83c8e |
|
|
|
8d6dde7 |
* Tue Nov 11 2014 Ben Nemec <bnemec@redhat.com> 0.1.34-6
|
|
|
8d6dde7 |
- Install lsb_release from package
|
|
|
8d6dde7 |
|
|
|
ce2892f |
* Thu Oct 23 2014 James Slagle <jslagle@redhat.com> 0.1.34-5
|
|
|
ce2892f |
- Unset trap before dracut ramdisk build script exits
|
|
|
ce2892f |
|
|
|
b7ccb27 |
* Wed Oct 22 2014 James Slagle <jslagle@redhat.com> 0.1.34-4
|
|
|
b7ccb27 |
- Move busybox binary-dep to ramdisk element
|
|
|
b7ccb27 |
|
|
|
ba97b53 |
* Tue Oct 21 2014 James Slagle <jslagle@redhat.com> 0.1.34-3
|
|
|
ba97b53 |
- Remove requirement on busybox, we use dracut now.
|
|
|
ba97b53 |
|
|
|
cbf4ab0 |
* Mon Oct 20 2014 James Slagle <jslagle@redhat.com> 0.1.34-2
|
|
|
cbf4ab0 |
- Enable dracut deploy ramdisks
|
|
|
cbf4ab0 |
|
|
|
61daffb |
* Mon Oct 20 2014 James Slagle <jslagle@redhat.com> 0.1.34-1
|
|
|
61daffb |
- Update to upstream 0.1.34
|
|
|
61daffb |
|
|
|
a463ff2 |
* Fri Oct 17 2014 James Slagle <jslagle@redhat.com> 0.1.33-4
|
|
|
a463ff2 |
- svc-map requires PyYAML
|
|
|
a463ff2 |
|
|
|
aa2702a |
* Fri Oct 17 2014 James Slagle <jslagle@redhat.com> 0.1.33-3
|
|
|
aa2702a |
- Make sure file added by patch is +x
|
|
|
aa2702a |
|
|
|
50810b6 |
* Wed Oct 15 2014 James Slagle <jslagle@redhat.com> 0.1.33-2
|
|
|
50810b6 |
- Move install bin from rpm-distro to yum
|
|
|
50810b6 |
- Check for epel before installing it
|
|
|
50810b6 |
|
|
|
302531d |
* Wed Oct 15 2014 James Slagle <jslagle@redhat.com> 0.1.33-1
|
|
|
302531d |
- Update to upstream 0.1.33
|
|
|
302531d |
|
|
|
261d3cc |
* Wed Oct 01 2014 James Slagle <jslagle@redhat.com> 0.1.32-1
|
|
|
261d3cc |
- Update to upstream 0.1.32
|
|
|
261d3cc |
|
|
|
7574428 |
* Mon Sep 29 2014 James Slagle <jslagle@redhat.com> 0.1.31-1
|
|
|
7574428 |
- Update to upstream 0.1.31
|
|
|
7574428 |
|
|
|
79a4950 |
* Mon Sep 15 2014 James Slagle <jslagle@redhat.com> 0.1.30-1
|
|
|
79a4950 |
- Update to upstream 0.1.30
|
|
|
79a4950 |
|
|
|
b448637 |
* Thu Sep 11 2014 James Slagle <jslagle@redhat.com> - 0.1.15-4
|
|
|
b448637 |
- Switch to rdopkg
|
|
|
b448637 |
|
|
|
9a85f52 |
* Wed Jul 02 2014 James Slagle <jslagle@redhat.com> - 0.1.15-3
|
|
|
9a85f52 |
- Add patch Remove-fixfiles-from-rpm-distro-finalize.patch
|
|
|
9a85f52 |
|
|
|
c2f1c38 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.15-2
|
|
|
c2f1c38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c2f1c38 |
|
|
|
12ae458 |
* Wed Apr 30 2014 Ben Nemec <bnemec@redhat.com> - 0.1.15-1
|
|
|
12ae458 |
- Update to 0.1.15
|
|
|
12ae458 |
- Remove dib-run-parts from this package
|
|
|
12ae458 |
- Add dependency on dib-utils (the new home of dib-run-parts)
|
|
|
12ae458 |
|
|
|
b306c2b |
* Wed Apr 16 2014 Ben Nemec <bnemec@redhat.com> - 0.1.13-1
|
|
|
b306c2b |
- Update to 0.1.13
|
|
|
b306c2b |
- Remove mariadb-rdo-package patch that merged upstream
|
|
|
b306c2b |
|
|
|
1405839 |
* Wed Mar 26 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.9-1
|
|
|
1405839 |
- rebase to 0.1.9
|
|
|
1405839 |
|
|
|
64620ef |
* Tue Feb 18 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.5-3
|
|
|
64620ef |
- add tar requires (rhbz#1066680)
|
|
|
64620ef |
|
|
|
daab1d1 |
* Mon Jan 27 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.5-2
|
|
|
daab1d1 |
- add new requires: python-argparse, python-babel
|
|
|
daab1d1 |
|
|
|
0cb5cca |
* Mon Jan 27 2014 Jeff Peeler <jpeeler@redhat.com> 0.1.5-1
|
|
|
0cb5cca |
- rebase to 0.1.5 + patch to fix RHEL 6.5 boot (rhbz#1057217)
|
|
|
0cb5cca |
|
|
|
dd40530 |
* Wed Oct 9 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.5-1
|
|
|
dd40530 |
- rebase to 0.0.5
|
|
|
dd40530 |
|
|
|
9a56d25 |
* Mon Sep 16 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-7
|
|
|
9a56d25 |
- add patch to allow proper Fedora image creation when using vm element
|
|
|
9a56d25 |
|
|
|
561b545 |
* Fri Sep 13 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-6
|
|
|
561b545 |
- add patches to ccd7b86b606e678bf7281baff05c420b089c5d8f (fixes kpartx issue)
|
|
|
561b545 |
|
|
|
b8ad3df |
* Thu Sep 5 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-5
|
|
|
b8ad3df |
- rebase to a495079695e914fa7ec93292497bfc2471f41510
|
|
|
b8ad3df |
- Source moved from stackforge to openstack
|
|
|
b8ad3df |
- added curl requires
|
|
|
b8ad3df |
- switched to pbr
|
|
|
b8ad3df |
- remove all sudo related files as they are no longer used
|
|
|
b8ad3df |
|
|
|
38c1271 |
* Tue Aug 13 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-4
|
|
|
38c1271 |
- removed config-applier element
|
|
|
38c1271 |
|
|
|
029cc5d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
|
|
|
029cc5d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
029cc5d |
|
|
|
5774441 |
* Wed Jul 31 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-2
|
|
|
5774441 |
- rebased and dropped patches
|
|
|
5774441 |
|
|
|
5774441 |
* Mon Jul 29 2013 Jeff Peeler <jpeeler@redhat.com> 0.0.1-1
|
|
|
5774441 |
- initial package straight from github commit sha
|