efi_requires.patch: don't force grub2-efi and shim into the package list

This commit is contained in:
Adam Williamson 2012-09-12 20:41:57 -07:00
parent d6b0a30bb2
commit 9c12726cd9
2 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,12 @@
--- livecd-tools-18.10/imgcreate/live.py 2012-09-06 16:38:20.000000000 -0700
+++ livecd-tools-18.10/imgcreate/live.py.new 2012-09-12 20:29:23.006686900 -0700
@@ -400,8 +400,7 @@
return options
def _get_required_packages(self):
- return ["syslinux", "grub2-efi", "shim"] \
- + LiveImageCreatorBase._get_required_packages(self)
+ return ["syslinux"] + LiveImageCreatorBase._get_required_packages(self)
def _get_isolinux_stanzas(self, isodir):
return ""

View File

@ -5,7 +5,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 18.10
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
License: GPLv2
Group: System Environment/Base
@ -16,6 +16,9 @@ URL: http://git.fedorahosted.org/git/livecd
# make dist
# scp livecd*.tar.bz2 fedorahosted.org:livecd
Source0: http://fedorahosted.org/releases/l/i/livecd/%{name}-%{version}.tar.bz2
# Drop the requirements for grub2-efi and shim: breaks 32-bit compose
# and not needed as we have them in comps
Patch0: livecd-tools-18.10-efi_requires.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
Requires: mkisofs
@ -66,6 +69,7 @@ like live image or appliances.
%prep
%setup -q
%patch0 -p1
%build
make
@ -99,7 +103,11 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/imgcreate/*.pyc
%changelog
* Thu Sep 06 2012 Brian C. Lane <bcl@redhat.com> 18.9-1
* Wed Sep 12 2012 Adam Williamson <awilliam@redhat.com> 18.10-2
- efi_requires.patch: don't force grub2-efi and shim into the package
list, it breaks 32-bit compose and isn't needed, we have it in comps
* Thu Sep 06 2012 Brian C. Lane <bcl@redhat.com> 18.10-1
- Version 18.10 (bcl)
- use cp -r instead of -a (bcl)