added one more patch

This commit is contained in:
Alex Burmashev 2014-07-03 10:40:41 +04:00
parent bbdaed340e
commit 5423803916
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,16 @@
diff -Nur livecd-tools-21.1.old/tools/livecd-creator livecd-tools-21.1/tools/livecd-creator
--- livecd-tools-21.1.old/tools/livecd-creator 2014-07-03 10:39:05.000000000 +0400
+++ livecd-tools-21.1/tools/livecd-creator 2014-07-03 10:39:22.381631664 +0400
@@ -174,9 +174,9 @@
logging.info("Using title '%s' and product '%s'" % (title, product))
ks = imgcreate.read_kickstart(options.kscfg)
- if not ks.handler.repo.seen:
- print >> sys.stderr, "Kickstart (%s) must have at least one repository." % (options.kscfg)
- return 1
+# if not ks.handler.repo.seen:
+# print >> sys.stderr, "Kickstart (%s) must have at least one repository." % (options.kscfg)
+# return 1
try:
if options.image_type == 'livecd':

View file

@ -5,7 +5,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 21.1
Release: 3
Release: 4
Epoch: 1
License: GPLv2
Group: System/Base
@ -16,6 +16,7 @@ Source3: rosa-image-fix-x86.pl
Patch0: livecd-tools-21.1.urpmi.patch
Patch1: livecd-tools-21.1.split.install.patch
Patch2: livecd-tools-21.1.efi.fixes.patch
Patch3: livecd-tools-21.1.hack.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
@ -67,6 +68,7 @@ like live image or appliances.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
make