rpms/plymouth/devel find-right-libdir.patch, NONE, 1.1 plymouth.spec, 1.20, 1.21
Ray Strode (rstrode)
fedora-extras-commits at redhat.com
Thu Jul 10 01:36:56 UTC 2008
Author: rstrode
Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1258
Modified Files:
plymouth.spec
Added Files:
find-right-libdir.patch
Log Message:
- Use a new heuristic for finding libdir, since the old
one falls over on ia64
find-right-libdir.patch:
--- NEW FILE find-right-libdir.patch ---
commit d8086a93a37e1e76c7b544a13faef13683c79b62
Author: Ray Strode <rstrode at redhat.com>
Date: Wed Jul 9 21:31:20 2008 -0400
Compute libdir using yet a different heuristic
The previous one falls over for ia64
diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in
index 033ca06..e4ccded 100755
--- a/scripts/plymouth-populate-initrd.in
+++ b/scripts/plymouth-populate-initrd.in
@@ -7,7 +7,7 @@ set -e
[ -z "$LIBEXECDIR" ] && LIBEXECDIR="/usr/libexec"
[ -z "$DATADIR" ] && DATADIR="/usr/share"
[ -z "$SYSTEMMAP" ] && SYSTEM_MAP="/boot/System.map-$(/bin/uname -r)"
-[ -z "$LIB" ] && $(eu-readelf -h /usr/bin/plymouth | grep Class | grep -q ELF64) && LIB="lib64" || LIB="lib"
+[ -z "$LIB" ] && $(echo nash-showelfinterp /usr/bin/plymouth | /sbin/nash --forcequiet | grep -q lib64) && LIB="lib64" || LIB="lib"
[ -z "$LIBDIR" ] && LIBDIR="/usr/$LIB"
[ -z "$BINDIR" ] && BINDIR="/usr/bin"
[ -z "$GRUB_MENU_TITLE" ] && GRUB_MENU_TITLE="Graphical Bootup"
diff --git a/scripts/plymouth-set-default-plugin b/scripts/plymouth-set-default-plugin
index a2ac8fd..3edee7a 100755
--- a/scripts/plymouth-set-default-plugin
+++ b/scripts/plymouth-set-default-plugin
@@ -4,7 +4,7 @@ set -e
[ -z "$LIBEXECDIR" ] && LIBEXECDIR="/usr/libexec"
[ -z "$DATADIR" ] && DATADIR="/usr/share"
-[ -z "$LIB" ] && $(eu-readelf -h /usr/bin/plymouth | grep Class | grep -q ELF64) && LIB="lib64" || LIB="lib"
+[ -z "$LIB" ] && $(echo nash-showelfinterp /usr/bin/plymouth | /sbin/nash --forcequiet | grep -q lib64) && LIB="lib64" || LIB="lib"
[ -z "$LIBDIR" ] && LIBDIR="/usr/$LIB"
[ -z "$BINDIR" ] && BINDIR="/usr/bin"
diff --git a/scripts/plymouth-update-initrd.in b/scripts/plymouth-update-initrd.in
index 2d37bcf..b8bc8f8 100755
--- a/scripts/plymouth-update-initrd.in
+++ b/scripts/plymouth-update-initrd.in
@@ -8,7 +8,7 @@ set -e
[ -z "$DATADIR" ] && DATADIR="/usr/share"
[ -z "$INITRD" ] && INITRD="/boot/initrd-$(/sbin/grubby --default-kernel | sed 's/.*vmlinuz-//g').img"
[ -z "$SYSTEMMAP" ] && SYSTEM_MAP="/boot/System.map-$(/bin/uname -r)"
-[ -z "$LIB" ] && $(eu-readelf -h /usr/bin/plymouth | grep Class | grep -q ELF64) && LIB="lib64" || LIB="lib"
+[ -z "$LIB" ] && $(echo nash-showelfinterp /usr/bin/plymouth | /sbin/nash --forcequiet | grep -q lib64) && LIB="lib64" || LIB="lib"
[ -z "$LIBDIR" ] && LIBDIR="/usr/$LIB"
[ -z "$BINDIR" ] && BINDIR="/usr/bin"
[ -z "$GRUB_MENU_TITLE" ] && GRUB_MENU_TITLE="Graphical Bootup"
Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- plymouth.spec 9 Jul 2008 21:40:58 -0000 1.20
+++ plymouth.spec 10 Jul 2008 01:36:13 -0000 1.21
@@ -1,7 +1,7 @@
Summary: Plymouth Graphical Boot Animation and Logger
Name: plymouth
Version: 0.5.0
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+
Group: System Environment/Base
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -12,11 +12,11 @@
Provides: rhgb = 1:10.0.0
Requires: system-logos >= 9.0.1
-Requires: elfutils
Requires: system-plymouth-plugin >= %{version}-%{release}
Patch0: plymouth-0.5.0-fix-ppc.patch
Patch1: restore-color-palette.patch
+Patch2: find-right-libdir.patch
%description
Plymouth provides an attractive graphical boot animation in
@@ -71,6 +71,7 @@
%patch0 -p1 -b .fix-ppc
%patch1 -p1 -b .restore-color-palette
+%patch2 -p1 -b .find-right-libdir
%build
%configure --enable-tracing --disable-tests --without-boot-entry \
@@ -176,6 +177,10 @@
%{_libdir}/plymouth/spinfinity.so
%changelog
+* Wed Jul 9 2008 Ray Strode <rstrode at redhat.com> - 0.5.0-5
+- Use a new heuristic for finding libdir, since the old
+ one falls over on ia64
+
* Wed Jul 9 2008 Ray Strode <rstrode at redhat.com> - 0.5.0-4
- add ctrl-r to rotate text color palette back to stock values
More information about the fedora-extras-commits
mailing list