1
0
forked from rpms/plymouth

- Fix set_verbose error reported by yaneti.

This commit is contained in:
Ray Strode 2009-09-10 13:58:09 +00:00
parent 10541a5c1a
commit 6662de6a07
2 changed files with 32 additions and 1 deletions

View File

@ -60,3 +60,31 @@ index 3857197..dd502b9 100755
-- --
1.6.4.2 1.6.4.2
From 3c2e1453d9652bbe6a29d89edd80664b87ab7271 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Thu, 10 Sep 2009 09:54:44 -0400
Subject: [PATCH] [populate-initrd] Don't require set_verbose function
If it's not around, define it, so we can use it without error
---
scripts/plymouth-populate-initrd.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in
index dd502b9..dcf2b42 100755
--- a/scripts/plymouth-populate-initrd.in
+++ b/scripts/plymouth-populate-initrd.in
@@ -28,6 +28,10 @@ if [ " $(type -t inst) " != " function " ]; then
exit 1
fi
+if [ " $(type -t set_verbose) " != " function " ]; then
+ function set_verbose { true; }
+fi
+
function usage() {
local output="/dev/stdout"
local rc=0
--
1.6.4.2

View File

@ -5,7 +5,7 @@
Summary: Graphical Boot Animation and Logger Summary: Graphical Boot Animation and Logger
Name: plymouth Name: plymouth
Version: 0.7.1 Version: 0.7.1
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@ -450,6 +450,9 @@ fi
%defattr(-, root, root) %defattr(-, root, root)
%changelog %changelog
* Thu Sep 10 2009 Ray Strode <rstrode@redhat.com> 0.7.1-5
- Fix set_verbose error reported by yaneti.
* Wed Sep 9 2009 Ray Strode <rstrode@redhat.com> 0.7.1-4 * Wed Sep 9 2009 Ray Strode <rstrode@redhat.com> 0.7.1-4
- Look for inst() in dracut as well as mkinitrd bash source file - Look for inst() in dracut as well as mkinitrd bash source file
- Drop plymouth initrd for now. - Drop plymouth initrd for now.