added a patch to fix path t jpgs

This commit is contained in:
Alex Burmashev 2014-06-26 11:09:23 +04:00
parent fbfc6d84d2
commit 021792b6f4
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,18 @@
diff -Nur livecd-tools-18.8.old/imgcreate/live.py livecd-tools-18.8/imgcreate/live.py
--- livecd-tools-18.8.old/imgcreate/live.py 2014-06-26 11:07:44.000000000 +0400
+++ livecd-tools-18.8/imgcreate/live.py 2014-06-26 11:08:20.810756343 +0400
@@ -436,12 +436,12 @@
def __copy_syslinux_background(self, isodest):
background_path = self._instroot + \
- "/usr/share/gfxboot/themes/Mandriva-Rosa/splash.jpg"
+ "/usr/share/gfxboot/themes/*-*/splash.jpg"
if not os.path.exists(background_path):
# fallback to F13 location
background_path = self._instroot + \
- "/usr/share/gfxboot/themes/Mandriva-Rosa/splash.jpg"
+ "/usr/share/gfxboot/themes/*-*/splash.jpg"
if not os.path.exists(background_path):
return False

View file

@ -5,7 +5,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 18.8
Release: 46
Release: 47
Epoch: 1
License: GPLv2
Group: System/Base
@ -35,6 +35,7 @@ Patch13: livecd-tools-18.8.fustunsafe.patch
Patch14: livecd-tools-18.8.debug.patch
Patch15: livecd-tools-18.8.hackfs.patch
Patch16: livecd-tools-18.8.quiet.patch
Patch17: livecd-tools-18.8.jpg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
@ -100,6 +101,7 @@ like live image or appliances.
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%build
make