mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00
added one more patch
This commit is contained in:
parent
bbdaed340e
commit
5423803916
2 changed files with 19 additions and 1 deletions
16
livecd-tools-21.1.hack.patch
Normal file
16
livecd-tools-21.1.hack.patch
Normal 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':
|
|
@ -5,7 +5,7 @@
|
||||||
Summary: Tools for building live CDs
|
Summary: Tools for building live CDs
|
||||||
Name: livecd-tools
|
Name: livecd-tools
|
||||||
Version: 21.1
|
Version: 21.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
@ -16,6 +16,7 @@ Source3: rosa-image-fix-x86.pl
|
||||||
Patch0: livecd-tools-21.1.urpmi.patch
|
Patch0: livecd-tools-21.1.urpmi.patch
|
||||||
Patch1: livecd-tools-21.1.split.install.patch
|
Patch1: livecd-tools-21.1.split.install.patch
|
||||||
Patch2: livecd-tools-21.1.efi.fixes.patch
|
Patch2: livecd-tools-21.1.efi.fixes.patch
|
||||||
|
Patch3: livecd-tools-21.1.hack.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
|
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
|
||||||
|
@ -67,6 +68,7 @@ like live image or appliances.
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
|
|
Loading…
Add table
Reference in a new issue