Name: diskimage-builder Summary: Image building tools for OpenStack Version: 0.1.42 Release: 3%{?dist} License: ASL 2.0 Group: System Environment/Base URL: https://launchpad.net/diskimage-builder Source0: http://tarballs.openstack.org/diskimage-builder/%{name}-%{version}.tar.gz Patch0001: 0001-Open-MKFS_OPTS-for-extension-in-disk-image-create.patch Patch0002: 0002-Try-5-times-for-rmdir-command-call-after-umount.patch Patch0003: 0003-Don-t-trace-RHEL-Registration-scripts.patch Patch0004: 0004-Do-not-export-REG_HALT_UNREGISTER-between-hook-scrip.patch Patch0005: 0005-Switch-default-Fedora-image-to-F21.patch Patch0006: 0006-Update-packages-earlier.patch Patch0007: 0007-Support-VHD-output-format.patch Patch0008: 0008-openSUSE-update.patch Patch0009: 0009-update-the-dib-centos7-baseurl-to-use-a-mirrorlist.patch Patch0010: 0010-Updated-from-global-requirements.patch Patch0011: 0011-Fix-image-size-to-fit-filesystem-journal.patch Patch0012: 0012-Remove-install-of-vlan-vconfig-from-base.patch BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-d2to1 BuildRequires: python-pbr Requires: kpartx Requires: qemu-img Requires: curl Requires: python-argparse Requires: python-babel Requires: tar Requires: dib-utils %prep %setup -q -n %{name}-%{version} %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 %patch0004 -p1 %patch0005 -p1 %patch0006 -p1 %patch0007 -p1 %patch0008 -p1 %patch0009 -p1 %patch0010 -p1 %patch0011 -p1 %patch0012 -p1 %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} mkdir -p %{buildroot}%{_datadir}/%{name}/lib mkdir -p %{buildroot}%{_datadir}/%{name}/elements install -p -D -m 644 lib/* %{buildroot}%{_datadir}/%{name}/lib cp -vr elements/ %{buildroot}%{_datadir}/%{name} # explicitly remove config-applier since it does a pip install rm -rf %{buildroot}%{_datadir}/%{name}/elements/config-applier # This file is being split out of diskimage-builder, so remove it to # avoid conflicts with the new package. rm -f %{buildroot}%{_bindir}/dib-run-parts %description Components of TripleO that are responsible for building disk images. %files %doc LICENSE %doc doc/source/ci.md %{_bindir}/* %{python_sitelib}/diskimage_builder* %{_datadir}/%{name}/lib %{_datadir}/%{name}/elements %changelog * Fri May 08 2015 Mike Burns 0.1.42-3 - Remove vlan vconfig from base * Fri May 08 2015 Mike Burns 0.1.42-2 - spec cleanup - Update to upstream 0.1.42 - Merge fedora/master in to rhos-7.0-rhel-7 - Merge pull request #5 from redhat-openstack/extend_mkfs_options - Merge pull request #4 from rbrady/run-registration-once - Merge pull request #4 from rbrady/run-registration-once - Merge remote-tracking branch 'fedora/master' into rhos-6.0-rhel-7 - Don't trace RHEL registration scripts - Merge remote-tracking branch 'fedora/master' into rhos-6.0-rhel-7 - Allow for disabling rhel registration - Merge remote-tracking branch 'fedora/master' into rhos-6.0-rhel-7 - 0.1.34-17 - Merge remote-tracking branch 'fedora/master' into rhos-6.0-rhel-7 - Make files created by patch 0013-Convert-deploy-ramdisk-to-targetcli.patch +x - Convert deploy ramdisk to targetcli - Bump to 0.1.34-14 - Allow injecting arbitrary yum repo configuration - Allow source-repositories to be disabled completely - Fix perms on rhel registration patch - Update RHEL Registration - Enable RHEL Registration - Remove duplicate binary-deps from dracut-ramdisk - Fix perms on binary-deps patch - Use binary-deps.d for dracut ramdisks - Simplify Dracut cmdline script - Install lsb_release from package - Import diskimage-builder from RDO - New branch setup - Unset trap before dracut ramdisk build script exits - Move busybox binary-dep to ramdisk element - Bump release as well - Update spec file - Remove requirement on busybox - Fix syntax error - Make sure files created by patch are +x - Enable dracut deploy ramdisks - Update to upstream 0.1.34 - svc-map requires PyYAML - Make sure file added by patch is +x - Move install bin from rpm-distro to yum - Update to upstream 0.1.33 - Update to upstream 0.1.32 - Update to upstream 0.1.31 - Update to 0.1.30 - Update to upstream 0.1.30 - Update to upstream 0.1.30 - Updated patches from f20-patches - Switch to rdopkg - Merge branch 'master' into f20 - 0.1.15-3 - 0.1.15-3 - - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Update to 0.1.15 and remove dib-run-parts - Update to 0.1.15 and remove dib-run-parts - Update to 0.1.13 - Really add 0.1.13 sources - Add 0.1.13 to sources - Update to 0.1.13 - 0.1.12 - Rebase to 0.1.9 - Rebase to 0.1.9 - Add tar requires - Add tar requires - Add new requires from requirements.txt - Rebase to 0.1.5 * Fri May 08 2015 Mike Burns 0.1.42-1 - Update to upstream 0.1.42 * Fri Mar 27 2015 Ben Nemec 0.1.34-21 - Merge pull request #5 from redhat-openstack/extend_mkfs_options - Open MKFS_OPTS for extension in disk-image-create - Merge pull request #4 from rbrady/run-registration-once - Merge pull request #3 from rbrady/fix-satellite-repo - Run Registration Once * Mon Feb 09 2015 James Slagle 0.1.34-20 - Merge pull request #4 from rbrady/run-registration-once - Merge pull request #3 from rbrady/fix-satellite-repo - Run Registration Once - Fix Satellite Repo - Merge pull request #1 from gfidente/master-patches - Switch manage_etc_hosts from True to localhost * Mon Jan 05 2015 James Slagle 0.1.34-19 - Don't trace RHEL registration scripts - Allow for disabling rhel registration - Deprecates username and password from boot time registration - Fix repo enablement for RHEL during registration * Tue Dec 09 2014 James Slagle 0.1.34-18 - Allow for disabling rhel registration * Tue Dec 08 2014 James Slagle 0.1.34-17 - Make files created by patch 0012-Allow-injecting-arbitrary-yum-repo-configuration.patch +x * Sun Dec 07 2014 James Slagle 0.1.34-16 - Make files created by patch 0013-Convert-deploy-ramdisk-to-targetcli.patch +x * Sat Dec 06 2014 James Slagle 0.1.34-15 - Convert deploy ramdisk to targetcli * Thu Dec 04 2014 James Slagle 0.1.34-14 - Allow injecting arbitrary yum repo configuration * Fri Nov 21 2014 Ben Nemec 0.1.34-13 - Allow source-repositories to be disabled completely * Thu Nov 20 2014 Ben Nemec 0.1.34-12 - Update RHEL Registration * Tue Nov 18 2014 Ben Nemec 0.1.34-11 - Enable RHEL Registration * Fri Nov 14 2014 Ben Nemec 0.1.34-10 - Remove duplicate binary-deps from dracut-ramdisk * Fri Nov 14 2014 Ben Nemec 0.1.34-9 - Fix perms on binary-deps patch * Fri Nov 14 2014 Ben Nemec 0.1.34-8 - Use binary-deps.d for dracut ramdisks * Thu Nov 13 2014 Ben Nemec 0.1.34-7 - Simplify Dracut cmdline script * Tue Nov 11 2014 Ben Nemec 0.1.34-6 - Install lsb_release from package * Thu Oct 23 2014 James Slagle 0.1.34-5 - Unset trap before dracut ramdisk build script exits * Wed Oct 22 2014 James Slagle 0.1.34-4 - Move busybox binary-dep to ramdisk element * Tue Oct 21 2014 James Slagle 0.1.34-3 - Remove requirement on busybox, we use dracut now. * Mon Oct 20 2014 James Slagle 0.1.34-2 - Enable dracut deploy ramdisks * Mon Oct 20 2014 James Slagle 0.1.34-1 - Update to upstream 0.1.34 * Fri Oct 17 2014 James Slagle 0.1.33-4 - svc-map requires PyYAML * Fri Oct 17 2014 James Slagle 0.1.33-3 - Make sure file added by patch is +x * Wed Oct 15 2014 James Slagle 0.1.33-2 - Move install bin from rpm-distro to yum - Check for epel before installing it * Wed Oct 15 2014 James Slagle 0.1.33-1 - Update to upstream 0.1.33 * Wed Oct 01 2014 James Slagle 0.1.32-1 - Update to upstream 0.1.32 * Mon Sep 29 2014 James Slagle 0.1.31-1 - Update to upstream 0.1.31 * Mon Sep 15 2014 James Slagle 0.1.30-1 - Update to upstream 0.1.30 * Thu Sep 11 2014 James Slagle - 0.1.15-4 - Switch to rdopkg * Wed Jul 02 2014 James Slagle - 0.1.15-3 - Add patch Remove-fixfiles-from-rpm-distro-finalize.patch * Sat Jun 07 2014 Fedora Release Engineering - 0.1.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Apr 30 2014 Ben Nemec - 0.1.15-1 - Update to 0.1.15 - Remove dib-run-parts from this package - Add dependency on dib-utils (the new home of dib-run-parts) * Wed Apr 16 2014 Ben Nemec - 0.1.13-1 - Update to 0.1.13 - Remove mariadb-rdo-package patch that merged upstream * Wed Mar 26 2014 Jeff Peeler 0.1.9-1 - rebase to 0.1.9 * Tue Feb 18 2014 Jeff Peeler 0.1.5-3 - add tar requires (rhbz#1066680) * Mon Jan 27 2014 Jeff Peeler 0.1.5-2 - add new requires: python-argparse, python-babel * Mon Jan 27 2014 Jeff Peeler 0.1.5-1 - rebase to 0.1.5 + patch to fix RHEL 6.5 boot (rhbz#1057217) * Wed Oct 9 2013 Jeff Peeler 0.0.5-1 - rebase to 0.0.5 * Mon Sep 16 2013 Jeff Peeler 0.0.1-7 - add patch to allow proper Fedora image creation when using vm element * Fri Sep 13 2013 Jeff Peeler 0.0.1-6 - add patches to ccd7b86b606e678bf7281baff05c420b089c5d8f (fixes kpartx issue) * Thu Sep 5 2013 Jeff Peeler 0.0.1-5 - rebase to a495079695e914fa7ec93292497bfc2471f41510 - Source moved from stackforge to openstack - added curl requires - switched to pbr - remove all sudo related files as they are no longer used * Tue Aug 13 2013 Jeff Peeler 0.0.1-4 - removed config-applier element * Sat Aug 03 2013 Fedora Release Engineering - 0.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 31 2013 Jeff Peeler 0.0.1-2 - rebased and dropped patches * Mon Jul 29 2013 Jeff Peeler 0.0.1-1 - initial package straight from github commit sha