mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00
added one more hack
This commit is contained in:
parent
5423803916
commit
7612814775
2 changed files with 15 additions and 1 deletions
12
livecd-tools-21.1.hack2.patch
Normal file
12
livecd-tools-21.1.hack2.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -Nur livecd-tools-21.1.old/imgcreate/live.py livecd-tools-21.1/imgcreate/live.py
|
||||||
|
--- livecd-tools-21.1.old/imgcreate/live.py 2014-07-03 13:31:20.000000000 +0400
|
||||||
|
+++ livecd-tools-21.1/imgcreate/live.py 2014-07-03 13:32:47.241941724 +0400
|
||||||
|
@@ -726,7 +726,7 @@
|
||||||
|
if not self._efiarch:
|
||||||
|
# for most things, we want them named boot$efiarch
|
||||||
|
efiarch = {"i386": "IA32", "x86_64": "X64"}
|
||||||
|
- self._efiarch = efiarch[rpmUtils.arch.getBaseArch()]
|
||||||
|
+ self._efiarch = efiarch[getBaseArch()]
|
||||||
|
return self._efiarch
|
||||||
|
|
||||||
|
def __copy_efi_files(self, isodir):
|
|
@ -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: 4
|
Release: 5
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
@ -17,6 +17,7 @@ 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
|
Patch3: livecd-tools-21.1.hack.patch
|
||||||
|
Patch4: livecd-tools-21.1.hack2.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}
|
||||||
|
@ -69,6 +70,7 @@ like live image or appliances.
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
|
|
Loading…
Add table
Reference in a new issue