From 27362621b1dcbc07fb32e702f31e29af53c860b3 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 8 Jul 2008 17:53:40 +0000 Subject: [PATCH] - Fix populate script on ppc (bug 454353) --- plymouth-0.5.0-fix-ppc.patch | 11 +++++++++++ plymouth.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 plymouth-0.5.0-fix-ppc.patch diff --git a/plymouth-0.5.0-fix-ppc.patch b/plymouth-0.5.0-fix-ppc.patch new file mode 100644 index 0000000..99e5404 --- /dev/null +++ b/plymouth-0.5.0-fix-ppc.patch @@ -0,0 +1,11 @@ +diff -up plymouth-0.5.0/scripts/plymouth-populate-initrd.in.fix-ppc plymouth-0.5.0/scripts/plymouth-populate-initrd.in +--- plymouth-0.5.0/scripts/plymouth-populate-initrd.in.fix-ppc 2008-07-08 13:51:02.000000000 -0400 ++++ plymouth-0.5.0/scripts/plymouth-populate-initrd.in 2008-07-08 13:51:19.000000000 -0400 +@@ -89,6 +89,7 @@ EOF + for bin in $BINS ; do + DEPS=$(get_dso_deps $bin) + for dep in $DEPS; do ++ mkdir -p ${INITRDDIR}$(dirname $dep) + install -D -m755 $dep ${INITRDDIR}$(dirname $dep) + done + done diff --git a/plymouth.spec b/plymouth.spec index 3e02821..b8217e4 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -1,7 +1,7 @@ Summary: Plymouth Graphical Boot Animation and Logger Name: plymouth Version: 0.5.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2 @@ -15,6 +15,8 @@ Requires: system-logos >= 9.0.1 Requires: elfutils Requires: system-plymouth-plugin >= %{version}-%{release} +Patch0: plymouth-0.5.0-fix-ppc.patch + %description Plymouth provides an attractive graphical boot animation in place of the text messages that normally get shown. Text @@ -66,6 +68,8 @@ spins in the shape of an infinity sign. %prep %setup -q +%patch0 -p1 -b .fix-ppc + %build %configure --enable-tracing --disable-tests --without-boot-entry \ --without-default-plugin \ @@ -170,6 +174,9 @@ fi %{_libdir}/plymouth/spinfinity.so %changelog +* Tue Jul 8 2008 Ray Strode - 0.5.0-3 +- Fix populate script on ppc (bug 454353) + * Tue Jul 1 2008 Ray Strode - 0.5.0-2 - Pull in spinfinity by default. This whole "figure out which plugin to use" set of scripts and scriptlets